1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2024-05-12 06:50:12 +00:00
2 __UI_KeepScreenHidden
Fellippe Heitor edited this page 2018-06-17 18:55:44 -03:00

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.