[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Contains the main form for the application.
Source position: forms.pp line 1740
public property TApplication.MainForm : TForm |
MainForm is a read-only TForm property which contains the form that is the main or primary form for the application.
The value in MainForm is assigned when the first form is created using the CreateForm method and the FormStyle for the form contains a value other than fsSplash.
The form instance in MainForm is displayed when the Run method is called to start the message processing loop for the application.
The application is terminated when this form is closed.
|
Creates a Form or component, owned by Application. |
|
|
Loads the form and passes control to the event loop for the application. |
|
|
Indicates the style for the form. |
|
|
Implements a form used in an LCL application. |
Version 3.2 | Generated 2024-02-25 | Home |