Microsoft KB Archive/90394

= Click on Scroll Box May Cause Value to Change =

PSS ID Number: 90394

Article Last Modified on 1/8/2003

-

The information in this article applies to:


 * Microsoft Visual Basic for MS-DOS 1.0

-



This article was previously published under Q90394



SYMPTOMS
If you have a scroll bar control on a form that has a large difference between the Min and the Max properties, you may get a Value change when you click on the scroll box (the small box within the scroll bar). Normally, a change event should not occur when you click on the scroll box.



STATUS
Microsoft has confirmed this to be a bug in Microsoft Visual Basic for MS-DOS, version 1.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Problem
 From the File menu, choose New Project. From the File menu, choose New Form. Add a scroll bar (HScroll1) to the form. Double-click on HScroll1 to return to VBDOS.EXE.  Copy the following code example into the Change event procedure of HScroll1: SUB HScroll1_Change PRINT &quot;CHANGE: &quot;; HScroll1.Value END SUB  Press F5 to run the program.</li> Click and drag the scroll box to the middle of the scroll bar. A change event correctly occurs.</li> Click on the scroll bar right next to the scroll box. A change event correctly occurs.</li> Click on the scroll box.</li></ol>

A change event should not occur, but does.

Additional query words: VBmsdos buglist1.00 1.00

Keywords: KB90394

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

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

© 2004 Microsoft Corporation. All rights reserved.