Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

__UI_KeepScreenHidden

Samuel Gomes edited this page Nov 25, 2022 · 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.
Clone this wiki locally