[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Dialogs' (#lcl)

TFileDialog.IntfFileTypeChanged

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

Declaration

Source position: dialogs.pp line 167

public procedure TFileDialog.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

TFileDialog.FilterIndex

  

This property sets which file filter is the default.

TFileDialog.OnTypeChange

  

Event handler signalled when the selected file type or filter index is changed.


Version 3.2 Generated 2024-02-25 Home