API:Vcl.ComCtrls.TTreeView.OnChanging
Delphi
property OnChanging: TTVChangingEvent read FOnChanging write FOnChanging;
C++
__property OnChanging;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTreeView |
Description
Occurs when the selection is about to change from one node to another.
Vcl.ComCtrls.TTreeView.OnChanging inherits from Vcl.ComCtrls.TCustomTreeView.OnChanging. All content below this line refers to Vcl.ComCtrls.TCustomTreeView.OnChanging.
Occurs when the selection is about to change from one node to another.
Write an OnChanging event handler to selectively prevent selection from moving to specific nodes.
The TTVChangingEvent type points to a method that is called when the selection is about to be changed from one node to another.
OnChanging is an event handler of type Vcl.ComCtrls.TTVChangingEvent.