Vcl.Dialogs.TCustomFileDialog.OnFolderChanging
Delphi
property OnFolderChanging: TFileDialogFolderChangingEvent read FOnFolderChanging write FOnFolderChanging;
C++
__property TFileDialogFolderChangingEvent OnFolderChanging = {read=FOnFolderChanging, write=FOnFolderChanging};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Vcl.Dialogs.pas Vcl.Dialogs.hpp |
Vcl.Dialogs | TCustomFileDialog |
Description
Occurs before a directory is opened or closed from the dialog.
OnFileOkClick occurs before a directory is opened or closed from 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. If an event handler is defined, the property contains a pointer to a TFileDialogFolderChangingEvent. The DoOnFolderChanging method triggers this event.