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


Close the form.


Source position: forms.pp line 591

public procedure TCustomForm.Close;


Close does not necessarily destroy the form. Modal forms only are hidden.

When the MainForm is closed, the application terminates.

An OnCloseQuery handler can deny to close the form.

See also



Asks the OnCloseQuery handler whether the form can close.

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads