Occurs upon closing a component.
Declaration
OnClose(Sender)
Parameters
Sender | [in] | Required | Variant |
Applies To
The event applies to the following components:
TOpenDialog, TSaveDialog, TSelectDirectory, TSelectObjectPropertyDialog
Description
The OnClose
event occurs when the dialog is closed. You can create an event handler for the OnClose
event to perform specific actions upon closing a dialog.
For more information on how to create event handlers for user form components, see Handling Events in User Forms.
Parameters
The event has the following parameter:
Sender
Contains a reference to the user form component that has raised the event.