Vcl.FileCtrl.TDirectoryListBox.OnChange
Delphi
property OnChange: TNotifyEvent read FOnChange write FOnChange;
C++
__property System::Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.FileCtrl.pas Vcl.FileCtrl.hpp |
Vcl.FileCtrl | TDirectoryListBox |
Description
Occurs when the user selects a new directory with the mouse or keyboard when the user moves the selection bar and presses enter.
Write an OnChange event handler to perform an action whenever a new directory is selected.
Code Examples