Click on Scroll Box May Cause Value to Change

ID: Q90394


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


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.


MORE INFORMATION

Steps to Reproduce Problem

  1. From the File menu, choose New Project.


  2. From the File menu, choose New Form.


  3. Add a scroll bar (HScroll1) to the form.


  4. Double-click on HScroll1 to return to VBDOS.EXE.


  5. Copy the following code example into the Change event procedure of HScroll1:
    
       SUB HScroll1_Change ()
           PRINT "CHANGE: "; HScroll1.Value
       END SUB 


  6. Press F5 to run the program.


  7. Click and drag the scroll box to the middle of the scroll bar. A change event correctly occurs.


  8. Click on the scroll bar right next to the scroll box. A change event correctly occurs.


  9. Click on the scroll box.


A change event should not occur, but does.

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.