PRB: F5 in Run Mode w/ Focus on Main Menu Bar Acts as CTRL+BREAKLast reviewed: June 21, 1995Article ID: Q74348 |
The information in this article applies to:
- Standard and Professional Editions of Microsoft Visual Basic for Windows, versions 2.0 and 3.0- Microsoft Visual Basic programming system for Windows, version 1.0
SYMPTOMSA Microsoft Visual Basic for Windows program will break at run time under the following simultaneous conditions:
STATUSThis behavior is by design. The program will break when the F5 key is pressed and the Immediate Window will get the focus. This information only applies to an application run in the Visual Basic for Windows development environment, not as an .EXE program.
MORE INFORMATIONThe F5 key acts as the shortcut key for the Visual Basic for Windows Run menu. Because Start, Continue, and Break all share the same menu item under the Run menu, F5 acts differently depending upon the state of execution of a program. It acts as the Run key in the Visual Basic version 1.0 for Windows environment. It also serves as the Break key once the application is running and the focus is on the Visual Basic for Windows menu bar. After execution has been "broken" with the Break key, the F5 key serves as the Continue key. To demonstrate the different modes of the F5 key, do the following:
|
Additional reference words: 1.00 2.00 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |