Sign in Join
FPDoc Onlineexperiment

TCommonDialog.Close procedure

Member of TCommonDialogpublicIn unit Dialogs

Closes the dialog and frees its resources.

Declaration

pascal
procedure Close; virtual

Description

Close is a method used to perform actions needed to close the dialog. This can include signalling the OnClose event handler (when assigned and used for the platform). Close frees the widgetset Handle allocated for the dialog.

No actions are performed in the method if a Handle is not allocated for the dialog, or the Close method has already been called.

Close is called from the Execute method when the DoExecute method has been completed, and occurs before the active form is re-enabled and focused.

See also

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