OnTypeChange Event

Applies to TestComplete 15.65, last modified on July 17, 2024

Occurs when a file type filter is changed within a file-selection dialog.


OnTypeChange(Sender) Parameters
Sender [in] Required Variant

Applies To

The event applies to the following components:

TOpenDialog, TSaveDialog


The OnTypeChange event occurs when the user selects a new filter from the Files of Type list box at the bottom of the dialog. To populate this list box with file type filters use the Filter property. The files of the selected type(s) are filtered automatically. You can create an event handler for this event to perform additional actions upon selecting a new file filter.

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 folder is changed, events occur in the following order:

See Also

Handling Events in User Forms
OnFolderChange Event
OnSelectionChange Event

Highlight search results