Sign in Join
FPDoc Onlineexperiment

TFileDialog.IntfFileTypeChanged procedure

Member of TFileDialogpublicIn unit Dialogs

Signals the OnTypeChange event handler when the value in FilterIndex is changed by the widgetset class instance.

Declaration

pascal
procedure IntfFileTypeChanged(NewFilterIndex: Integer)

Arguments

NewFilterIndex

New value for the FilterIndex property.

Description

IntfFileTypeChanged is a callback routine used by the widgetset class when it applies a change to the value in the FilterIndex property. It occurs when the FilterIndex returned from the native dialog is handled by the widget.

IntfFileTypeChanged stores the value in NewFilterIndex to its internal member, and calls DoTypeChange to signal the OnTypeChange event handler (when assigned).

Use the OnTypeChange event handler to perform actions needed when the value in FilterIndex has been modified.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.