BUG: ComboBox Scroll Event Might Not Fire
ID: Q215448
|
The information in this article applies to:
-
Microsoft Windows CE Toolkit for Visual Basic 6.0, version 1.0
SYMPTOMS
Under certain circumstances (outlined below), the Scroll Event of a ComboBox may not fire.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a new Windows CE HPC Project in Visual Basic. Form1 is created by default.
- Add a ComboBox to Form1.
- Add the following code to Form1:
Option Explicit
Private Sub Form_Load()
Dim x
For x = 1 To 10
Combo1.AddItem "item: " & x
Next
End Sub
Private Sub Combo1_Scroll()
Form1.Print "scroll"
End Sub
- Run the project.
- Click the first item in the ComboBox and drag the mouse (or stylus) down until the ComboBox scrolls. Note that the Scroll Event of the ComboBox does not fire.
- Scroll through the ComboBox using the vertical scrollbar. Note that the Scroll Event fires as expected.
Additional query words:
vbce vbce6 wince wce
Keywords : kbToolkit kbVBp600bug kbWinCE kbWinCE100 kbGrpVB
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbbug