JVCL Help:TExecOpenDialogEvent
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TExecOpenDialogEvent type
[+] JvToolEdit.pas Types
Search in JVCL Help
Search in all projectsSummary
The type for event handlers that respond before or after a file or directory selection dialog is shown.
Pascal
run\JvToolEdit.pas
TExecOpenDialogEvent = procedure (Sender: TObject; var AName: string; var AAction: Boolean) ofobject;
Parameters
Parameters | Description |
Sender | The object that represents the combo edit control. |
AName | The name of the file or directory that will initially be selected in the dialog or the name of the file or directory that is selected by the user in the dialog. |
AAction | The result of the initialization or file selection process. |
Description
TExecOpenDialogEvent is the type for event handlers that can initialize a file selection dialog or alter the result of a file selection process.
You can alter both Name and Action. For example, by setting Action to false in an OnBeforeDialog event handler, you will prevent the dialog from being shown.
See Also
TJvFileDirEdit.OnAfterDialog, TJvFileDirEdit.OnBeforeDialog
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page