Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
If you're running a top-level form, you might not want the main Visual FoxPro window to be visible. You can use the Visible property of the Application object to hide and show the main Visual FoxPro window as needed.
In the Init Event of the form, include the following line of code:
Application.Visible = .F.
In the Destroy Event of the form, include the following line of code:
Application.Visible = .T.
Make sure that you also provide a way to close the form by using THISFORM.Release
in some method or event.
Note
You can also include the following line in a configuration file to hide the main Visual FoxPro window: SCREEN = OFF
How to: Display a Child Form Inside a Top-Level Form
How to: Add a Menu to a Top-Level Form
How to: Extend Forms with Form Sets
Creation of Single- and Multiple-Document Interfaces
Adding Objects to Forms