Sign in Join
FPDoc Onlineexperiment

TFindDialog.DoCloseForm procedure

Member of TFindDialogprotectedIn unit Dialogs

Implements the OnClose event handler on the internal form displayed for the dialog.

Declaration

pascal
procedure DoCloseForm(Sender: TObject; var CloseAction: TCloseAction)
 ; virtual

Arguments

Sender

Object (TFindDialog) for the event notification.

CloseAction

Not used in the current implementation.

Description

DoCloseForm is a method which implements the event handler signalled when the internal form instance for the dialog is closed. No actions are performed in the method at design-time (csDesigning is in ComponentState property).

DoCloseForm stores the Left and Top coordinates from the form to the corresponding properties in the class instance. The property values are assigned as default values when a new form instance is created in CreateForm.

DoCloseForm is assigned to the OnClose event handler for the internal TForm instance when the Execute method is called.

See also

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