PRB: READ EVENTS in Form's Init Causes the Form Not to Display (177336)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Macintosh 3.0b
This article was previously published under Q177336 SYMPTOMS
A form does not display when you run the form.
CAUSE
If you issue a READ EVENTS in the Init or Load event, the form does not get
a chance to display before going into the event loop.
RESOLUTION
Here are two resolutions:
and
In the Destroy event of the form place the following command:
ON KEY LABEL ALT+X
Now, after you run the form, when program execution stops at the READ
EVENTS, you can press the ALT+X keys to clear the READ EVENTS and
continue with program execution.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/10/2003 |
---|
Keywords: | kbprb KB177336 kbAudDeveloper |
---|
|