Occurs when the component is shown.
The event applies to the following components:
TOpenDialog, TSaveDialog, TSelectDirectory, TSelectObjectPropertyDialog
OnShow event occurs when the component appears on a screen. You can create an event handler for the
OnShow event to perform specific actions upon displaying 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.
When the file-selection dialog is displayed, events occur in the following order: