Occurs upon closing a component.
The event applies to the following components:
TOpenDialog, TSaveDialog, TSelectDirectory, TSelectObjectPropertyDialog
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.
The event has the following parameter:
Contains a reference to the user form component that has raised the event.