[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Executes the dialog for the control and stores the return value.
Source position: editbtn.pas line 502
public procedure TDirectoryEdit.RunDialog; virtual; |
RunDialog is a procedure used to execute the dialog for the control, and to store the selected directory name in the control. RunDialog calls CreateDialog to create and configure the dialog executed in the method. When the dialog has completed successfully, GetDialogResult is called to capture the selected directory name.
When assigned, the OnAcceptDirectory event handler is signalled to accept or reject the selected directory name. When rejected, the return value is ignored. When accepted, the value returned from the dialog is stored in the Directory property.
RunDialog is used in the implementation of the ButtonClick method.
|
Creates and configures the dialog for the control. |
|
|
Gets the result from the specified dialog. |
|
|
The Directory selected by the dialog. |
|
|
OnAcceptDirectory - event handler for accepting the name of a directory. |
|
|
Implements the button handler for the Button in the control. |
|
|
The base type from which other dialogs are derived. |
|
|
Implements a select directory dialog. |
Version 4.0 | Generated 2025-05-03 | Home |