[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs actions needed to determine if the dialog can be closed.
Source position: dialogs.pp line 125
public procedure TCommonDialog.DoCanClose( |
var CanClose: Boolean |
); virtual; |
CanClose |
|
True if the OnCanClose event handler determines the dialog can be closed. |
DoCanClose is a method which determines if the dialog can be closed. It updates an internal flag which indicates the method has been called, and signals the OnCanClose event handler (when assigned and supported for the platform).
Use the OnCanClose to implement any required logic to determine if the dialog can actually be closed. The value in the CanClose argument is updated in the event handler.
DoCanClose is called from the DoExecute method when the widgetset class has attempted to close the dialog.
|
Event handler signalled to determine if the dialog can be closed. |
|
|
Displays the dialog and captures the result. |
|
|
The function that actually takes care of executing the dialog. |
Version 4.0 | Generated 2025-05-03 | Home |