BUG: ComboBox Text Is Missing When DoEvents Is in GotFocus Event (272420)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- Microsoft Visual Basic Enterprise Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
This article was previously published under Q272420 SYMPTOMS
When the Animation/Transition Display Properties system setting is turned on, List Item text does not display in a ComboBox if a DoEvents statement is used prior to assigning the ListIndex property in the GotFocus event.
RESOLUTION
Any of the following actions can be used to work around this behavior: - The DoEvents statement can be placed after the statement that sets the ListIndex.
- The Style of the ComboBox can be set to 0 - Dropdown Combo.
- The Animation/Transition setting can be cleared in the Effects tab of the Display Properties dialog.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbBug kbComboBox kbnofix KB272420 |
---|
|