Sign in Join
FPDoc Onlineexperiment

TApplication.ShowMainForm property

Member of TApplicationpublicIn unit Forms

Allows the main form to be shown or hidden when an application is started.

Declaration

pascal
property ShowMainForm: Boolean read FShowMainForm write FShowMainForm default True;

Description

Allows the main form to be shown or hidden when an application is started. The default value for the property is True as assigned in the Create constructor.

The property value is updated at run-time when a new value is assigned to the ShowMainForm property in TApplicationProperties.

ShowMainForm is used in the Run method to determine if the Show method is called for an assigned MainForm instance. The form is displayed prior to calling the AppRun method in the widgetset class.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.