BUG: DBCombo Dropdown List Detaches While Dragging Parent Form
ID: Q142469
|
The information in this article applies to:
-
Microsoft Visual Basic Standard, Professional, and Enterprise Editions, 16-bit and 32-bit, for Windows, version 4.0
-
Microsoft Plus! for Windows 95
-
Microsoft Plus! 98
SYMPTOMS
The DBCombo control drop-down list becomes detached from the control and
the parent form if the user drags the form while the drop-down list is
displayed in Microsoft Visual Basic version 4.0 for Windows. This behavior
is reproducible in both the 16-bit and 32-bit versions of Visual Basic
version 4.0 running under the Microsoft Windows and Microsoft Windows NT
operating systems.
STATUS
Microsoft has confirmed this to be an issue in the Microsoft products
listed at the beginning of this article. We are researching this
problem and will post new information here in the Microsoft Knowledge
Base as it becomes available.
WORKAROUND
In Microsoft Windows NT, this behavior can be eliminated by clearing
the "Full Drag" option in the Desktop dialog box of the Control
Panel.
In Microsoft Windows 95 and Windows 98, the behavior can be eliminated by
unchecking the Show window contents while dragging item in the Plus! tab of
the Display Properties dialog. The Display Properties dialog can be viewed
by right- clicking on the Windows 95 and Windows 98 desktop and selecting
'Properties'. This setting can also be controlled programmatically by the
SystemParametersInfo API and the SPI_GETDRAGFULLWINDOWS and
SPI_SETDRAGFULLWINDOWS constants. For more information, see your Windows
API documentation.
MORE INFORMATION
Steps to Reproduce Problem
- Start a new project in Visual Basic. Form1 is created by default.
- Add a Data control, "Data1" by default, to Form1 and set the
following properties:
DataBaseName = BIBLIO.MDB
RecordSource = Authors
- Add a DBCombo control to Form1, "DBCombo1" by default, and set the
following properties:
RowSource = Data1
ListField = Author
Style = 0 - Drop-down Combo or 2 - Drop-down List
- On the Run menu, click Start or press the F5 key to start the
program. Open the DBCombo list box and then drag the Form1 form. Note
that the list separates from the DBCombo control.
Additional query words:
kbVBp kbVBp400bug kbWinOS98 kbDSupport kbdse kbCtrl
Keywords : kbGrpVBDB
Version : 4.00
Platform : NT WINDOWS
Issue type : kbbug