Sign in Join
FPDoc Onlineexperiment

TOpenDialog.OnFolderChange property

Member of TOpenDialogpublishedIn unit Dialogs

Event signalled when a new directory is selected in the dialog.

Declaration

pascal
property OnFolderChange: TNotifyEvent read FOnFolderChange write FOnFolderChange;

Description

OnFolderChange is a TNotifyEvent property with the event handler signalled when the current directory is changed using the dialog. OnFolderChange is signalled (when assigned) from the DoFolderChange method when it is called from methods in the widgetset class instance. It is called when the value in FileName has been changed as a result of directory navigation using the native dialog for the platform.

The dialog class instance is used as the Sender object for the event notification.

Please note that changing the current folder (and updating FileName with the new directory) will also trigger the OnSelectionChange event.

See also

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