Microsoft KB Archive/186679

= FIX: Universal Scrolling Closes Code Completion List Boxes =

Article ID: 186679

Article Last Modified on 12/10/2003

-

APPLIES TO


 * Microsoft Visual Basic 5.0 Learning Edition
 * Microsoft Visual Basic 5.0 Professional Edition
 * Microsoft Visual Basic 5.0 Enterprise Edition
 * Microsoft IntelliPoint 2.2

-



This article was previously published under Q186679



SYMPTOMS
The Complete Word list box or the Auto List Members list box may close unexpectedly when using the universal scrolling feature of the IntelliPoint Software version 2.2 to scroll within the list box.



RESOLUTION
Use one of the following methods to scroll through the list boxes rather than using the universal scrolling feature:


 * Scroll conventionally using the scroll bars.
 * Use the Panning Anchor feature to scroll through the list box. To use the Panning Anchor with the Microsoft IntelliMouse, click the wheel button to display the Panning Anchor. Move the mouse up or down to scroll through the list box. Note that in Windows 98, this method may also cause the window to close unexpectedly.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Visual Basic 6.0.



MORE INFORMATION
The Automatic Code Completion feature of Visual Basic automatically fills in statements, properties, and arguments in the Code window. This feature displays the possible code statements in a list box or a dialog box. You can access the Complete Word list box by clicking Complete Word from the Edit menu while you are in the Visual Basic Code Window. The Auto List Members list box is displayed when you type an object name followed by a period in the code window. Note that you can select the Auto List Members code setting when you choose Options from Tools on the main menu, then click the Editor tab.

When you click the Complete Word or Auto List Members list box and attempt to scroll by using the IntelliPoint software, such as by spinning the wheel button of the Microsoft IntelliMouse, the list box displayed will unexpectedly close.

The next section demonstrated how to reproduce this behavior. The instructions assume you are using the Microsoft IntelliMouse with the Microsoft IntelliPoint 2.2 software.

Steps to Reproduce Behavior

 * 1) Start a new Standard EXE project in Visual Basic. Form1 is created by default.
 * 2) Double-click Form1 to display the Form1 code window.
 * 3) From the Edit menu, click Complete Word to display the Complete Word list box.
 * 4) Click on the Complete Word list box, and then spin the wheel button to scroll the list box. Note that the Complete Word list box closes.

Keywords: kbbug kbfix kbvbp600fix KB186679

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.