JVCL Help:TExecOpenDialogEvent

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

The type for event handlers that respond before or after a file or directory selection dialog is shown.

run\JvToolEdit.pas


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.

run\JvToolEdit.pas


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.

run\JvToolEdit.pas


See Also

TJvFileDirEdit.OnAfterDialog, TJvFileDirEdit.OnBeforeDialog

run\JvToolEdit.pas


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