Microsoft KB Archive/94832

= Value Property May Change When You Click the Scroll Bar Thumb =

PSS ID Number: 94832

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 Q94832



SYMPTOMS
The Value property may change when you click the thumb of a scroll bar. This occurs after moving the thumb by clicking one of the arrows on the scroll bar or by clicking between the thumb and the arrow on the scroll bar. The increment that the Value property changes does not always reflect the value that the SmallChange or LargeChange property is set to, as it should. This problem does not occur in Visual Basic for Windows.



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



Steps to Reproduce Problem
 Start VBDOS.EXE. From the File menu, choose New Form. Place a Horizontal Scroll bar on the new form. From the File menu, choose Exit, and save all changes.  Add the following code to the HScroll1_Change event procedure: Sub HScroll1_Change Print &quot;CHANGE EVENT &quot;; HScroll1.Value End Sub  Run the program.</li> Drag the thumb of the scroll bar to the center of the scroll bar.</li> Click the left arrow on the scroll bar once.</li> Click the thumb.</li></ol>

After you click the thumb, you receive an incorrect change event, and the Value property has changed a significant amount.

Additional query words: VBmsdos buglist1.00 1.00

Keywords: KB94832

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

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

© 2004 Microsoft Corporation. All rights reserved.