Sign in Join
FPDoc Onlineexperiment

TOpenDialog.DoSelectionChange procedure

Member of TOpenDialogpublicIn unit Dialogs

Performs actions when the selected file in FileName has been changed.

Declaration

pascal
procedure DoSelectionChange; virtual

Description

DoSelectionChange is a method used to perform action needed when the selected file in the dialog has been change. It is called from methods in the widgetset class when a new value has been assigned to the FileName property.

DoSelectionChange updates an internal member used to track the current and previous value for the FileName property. It signals the OnSelectionChange event handler (when assigned) using the dialog class instance as the object for the notification.

Use HistoryList for the previously selected file name values in the dialog.

See also

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