[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TApplication.MainForm

The application terminates when this form is closed.

Declaration

Source position: forms.pp line 1579

public property TApplication.MainForm : TForm
  read FMainForm;

Description

This property is set when the first form is created via Application.CreateForm and it is not FormStyle=fsSplash.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.