Sign in Join
FPDoc Onlineexperiment

TFindDialog.CloseDialog procedure

Member of TFindDialogpublicIn unit Dialogs

Closes the dialog form when its Cancel button is clicked.

Declaration

pascal
procedure CloseDialog

Description

CloseDialog is called from the CancelClick method (the OnClick handler for the Cancel button on the dialog form). CloseDialog ensures that the internal TForm instance for the dialog class has been assigned, and calls its Close method. This initiates a series of method calls and event handler notifications needed to close the form.

TCustomForm.Close ->
  TCustomForm.OnClose ->
    TFindDialog.DoCloseForm ->
      TCommonDialog.OnClose

See also

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