Vcl.Dialogs.TOpenDialog.OnFolderChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnFolderChange: TNotifyEvent read FOnFolderChange write FOnFolderChange;

C++

__property System::Classes::TNotifyEvent OnFolderChange = {read=FOnFolderChange, write=FOnFolderChange};

Properties

Type Visibility Source Unit Parent
event published
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TOpenDialog

Description

Occurs when a directory is opened or closed from the dialog.

The OnFolderChange event occurs when the user changes the directory whose contents are displayed in the dialog. This can happen when the user double-clicks a directory, clicks the Up arrow, or uses the list box at the top of the dialog to navigate through the directory structure.

To obtain the path of the currently selected directory, use the ExtractFilePath routine on the FileName property of the Sender.

See Also