All Event Handling Is Disabled in an ON ERROR GOTO Handler (32272)
The information in this article applies to:
- Microsoft Visual Basic for MS-DOS
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0
This article was previously published under Q32272 SUMMARY
All event handling is suspended in an ON ERROR GOTO handler. The
following types of events are suspended during an error trapping
routine:
- Key trapping (ON KEY(n) GOSUB)
- Timer (ON TIMER(n) GOSUB)
- Communications (ON COM(n) GOSUB)
- Light Pen (ON PEN GOSUB)
- Joy Stick (ON STICK GOSUB)
- User-defined event (ON UEVENT GOSUB)
These events are enabled again as soon as the error trap is exited
with a RESUME or RESUME NEXT statement.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB32272 |
---|
|