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

TCustomForm.Close

Close the form.

Declaration

Source position: forms.pp line 591

public procedure TCustomForm.Close;

Description

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

TCustomForm.CloseQuery

  

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