ID Number: Q80936
1.00
WINDOWS
buglist1.00
Summary:
When you encounter an error in the Changing event of the Instant
Change Scroll Bar custom control and receive an error dialog box, you
will not be returned to design mode if you select choose the End
command from the Run menu. However, clicking a second time with the
left mouse button will return you to design mode.
Microsoft has confirmed this to be a problem with the Instant Change
Scroll Bar custom controls supplied with Microsoft Professional
Toolkit for Microsoft Visual Basic programming system version 1.0 for
Windows. We are researching this problem and will post new information
here as it becomes available.
More Information:
Steps to Reproduce Problem
--------------------------
1. Run Visual Basic, or from the File menu, choose New Project (ALT,
F, N) if Visual Basic is already running. Form1 is created by
default.
2. From the File menu, choose Add File. In the Files box, select the
INSTSCRL.VBX custom control file. The Instant Change Scroll Bar
tools will appear in the Toolbox.
3. Place an InstHScroll (or InstVScroll) control on Form1.
4. Press the F7 function key to open the Code window. From the
Procedure box, select the Changing procedure, and add the following
code:
Sub InstHScroll1_Changing ( )
a% = 10 / a%
End Sub
5. Press the F5 function key to run the example. Click and drag the
scroll box (the thumb bar) to generate a Changing event so the
"Division By Zero" error will take place.
6. Press the SPACEBAR to close the error, or choose the OK button.
7. When you choose End from the Run menu, the VB.EXE environment fails
to return to design mode.
8. If you click the left mouse button once again, VB.EXE returns to
design mode (after a short delay).
Note: This problem does not occur if you click on the scroll arrow of
the Instant Change Scroll Bar to generate the Changing event.
Additional reference words: 1.00