Sign in Join
FPDoc Onlineexperiment

TOpenDialog.DoFolderChange procedure

Member of TOpenDialogpublicIn unit Dialogs

Signals the OnFolderChange event handler when a new directory is selected during execution of the dialog.

Declaration

pascal
procedure DoFolderChange; virtual

Description

DoFolderChange is a method used to perform actions needed when a new directory is selected using the open dialog. DoFolderChange signals the OnFolderChange event handler (when assigned) using the dialog instance as the object for the notification.

DoFolderChange is called from the widgetset class when directory navigation has occurred in the native dialog. FileName contains the path for the newly selected directory when the method is called.

Use InitialDir to specify the initial directory displayed when the dialog is executed.

Use OnSelectionChange to perform actions needed when a new file is selected using the dialog and the value in FileName is modified.

See also

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