-
Notifications
You must be signed in to change notification settings - Fork 4
__UI_KeepScreenHidden
Samuel Gomes edited this page Feb 12, 2024
·
2 revisions
The global variable __UI_KeepScreenHidden can be set to True if you don't want InForm to show the main form immediately, which is useful when your program needs to perform any startup routines before the main form can be displayed.
In the BeforeInit event, set this variable to True to avoid showing the form immediately.
Caution
- If you do set __UI_KeepScreenHidden to True, don't forget to use
_SCREENSHOW
somewhere later in your program, or your main form will never be displayed and your program will keep running as a hidden window.