Table of Contents

TIDEOpenDialogEvent Type

Event type used to provide a custom file open dialog for script project files.

Remarks

TIDEOpenDialogEvent can be used by programmer to provide a different dialog for opening script project files other than the standard one. The event is fired when the end-user choose "Open file" or "Open project" option in the IDE. The type of file to be opened is passed in IDEFileType parameter. The file chosen by the end-user must be provided in AFileName parameter. If the end-user confirmed the operation, ResultOk must receive true. Otherwise, ResultOk must receive false in order to inform the engine to abort the operation (as if the end-user pressed Cancel in the open dialog). Finally, Handled parameter must receive true. If Handled receives false, then the standard open dialog will be used.

Syntax

Unit: IDEMain