FIX: DBCombo's Drop-Down Does Not Work with Mouse in Modal FormLast reviewed: October 30, 1997Article ID: Q172275 |
The information in this article applies to:
SYMPTOMSThe mouse does not select items in the drop-down combo box of DBCombo on a Modal Form in an executable.
RESOLUTIONTo resolve this problem, upgrade to Visual Basic 5.0. In Visual Basic 4.0, the following code will work around the problem:
Private Sub Form_Initialize() ' Loop thru each form in the FormS collection For Each Form in Forms 'Find each form that is not the current form If Form.Name <> Me. Name Then Form. Enabled = True ' and Disable it End If End Sub Private Sub Form_Unload() ' Loop thru each form in the FormS collection For Each Form in Forms 'Re-enable all the forms in the FormS collection If Form.Name <> Me. Name Then Form. Enabled = True End If End Sub STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been corrected in Microsoft Visual Basic Professional and Enterprise editions, version 5.0.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional query words: vb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |