PRB: Application Loses Focus or Opens Minimized on Startup (178117)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q178117 SYMPTOMS
When you launch a Visual FoxPro application, it appears to open minimized
or loses focus.
CAUSE
This behavior occurs when you include the following code in the Init event
of a Top-Level form:
Application.Visible = .F.
RESOLUTION
Move the following line:
Application.Visible = .F.
to the Activate event of the Top-Level form.
STATUS
This behavior is by design.
REFERENCES
Visual FoxPro Help, version 5.00; search on: "Application"
Visual FoxPro Help, version 5.00; search on: "Visible"
Modification Type: | Major | Last Reviewed: | 3/10/2001 |
---|
Keywords: | kbDSupport kbprb KB178117 |
---|
|