[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Closes the dialog form when its Cancel button is clicked.
Source position: dialogs.pp line 500
public procedure TFindDialog.CloseDialog; |
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
|
Implements the OnClick event handler for the Cancel button on the dialog. |
|
|
Implements the OnClose event handler on the internal form displayed for the dialog. |
|
|
Creates and configures the internal form displayed for the dialog. |
|
|
Displays the dialog form and responds to button clicks. |
|
|
Event handler signalled when the dialog is closed. |
|
|
Event handler signalled to determine if the dialog can be closed. |
|
|
Closes the form. |
|
|
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 |