Microsoft KB Archive/215448

From BetaArchive Wiki

Article ID: 215448

Article Last Modified on 8/19/2005



APPLIES TO

  • Microsoft Windows CE Toolkit for Visual Basic 6.0
  • Microsoft Office Keyboard



This article was previously published under Q215448

SYMPTOMS

Under certain circumstances (outlined below), the Scroll Event of a ComboBox 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 either Visual Basic or eMbedded Visual Basic. Form1 is created by default.
  2. Add a ComboBox to Form1.
  3. 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
                            
  4. Run the project.
  5. 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.
  6. Scroll through the ComboBox using the vertical scrollbar. Note that the Scroll Event fires as expected.



Additional query words: vbce vbce6 wince wce eVB

Keywords: kbbug kbtoolkit kbpending KB215448