OnTypeChange Event

Applies to TestComplete 15.48, last modified on January 31, 2023

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

Declaration

OnTypeChange(Sender) Parameters
Sender [in] Required Variant

Applies To

The event applies to the following components:

TOpenDialog, TSaveDialog

Description

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.

Parameters

The event has the following parameter:

Sender

Contains a reference to the user form component that has raised the event.

Remarks

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