[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Implements the OnClose event handler on the internal form displayed for the dialog.
Source position: dialogs.pp line 486
protected procedure TFindDialog.DoCloseForm( |
Sender: TObject; |
var CloseAction: TCloseAction |
); virtual; |
Sender |
|
Object (TFindDialog) for the event notification. |
CloseAction |
|
Not used in the current implementation. |
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.
|
Closes the dialog form when its Cancel button is clicked. |
|
|
Coordinate for the Left side of the dialog form. |
|
|
Coordinate for the Top edge of the dialog form. |
|
|
Displays the dialog form and responds to button clicks. |
|
|
Event handler signalled when the dialog is closed. |
|
|
Closes the form. |
|
|
Asks the OnCloseQuery handler whether the form can be closed. |
|
|
Handler called when the form is closed. It determines what happens to the form (destroy, hide, etc.). |
Version 4.0 | Generated 2025-05-03 | Home |