Value Property May Change When You Click the Scroll Bar Thumb

ID: Q94832


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0


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.


MORE INFORMATION

Steps to Reproduce Problem

  1. Start VBDOS.EXE.


  2. From the File menu, choose New Form.


  3. Place a Horizontal Scroll bar on the new form.


  4. From the File menu, choose Exit, and save all changes.


  5. Add the following code to the HScroll1_Change event procedure:
    
          Sub HScroll1_Change ()
             Print "CHANGE EVENT "; HScroll1.Value
          End Sub 


  6. Run the program.


  7. Drag the thumb of the scroll bar to the center of the scroll bar.


  8. Click the left arrow on the scroll bar once.


  9. Click the thumb.


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 :
Version : MS-DOS:1.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 9, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.