BUG: eMbedded Visual Basic ComboBox Scroll Event May Not Fire (265790)



The information in this article applies to:

  • Microsoft eMbedded Visual Basic 3.0

This article was previously published under Q265790

SYMPTOMS

Under certain circumstances (which are outlined in the "More Information" section), the Scroll event of a ComboBox control may not fire.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new Windows CE project in eMbedded Visual Basic. Form1 is created by default.
  2. Add a ComboBox control to Form1.
  3. Paste the following code in the code window of 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
    					
  4. Run the project, and target either emulation or the remote device.
  5. Click the first item in the combo box, and drag the mouse (or stylus) down until the combo box scrolls. Note that the Scroll event of the combo box does not fire.
  6. Use the vertical scroll bar to scroll through the combo box. Notice that the Scroll event fires as expected.

Modification Type:MajorLast Reviewed:10/15/2002
Keywords:kbBug kbDSupport KB265790