Vcl.ComCtrls.TCustomTreeView.OnEdited
Delphi
property OnEdited: TTVEditedEvent read FOnEdited write FOnEdited;
C++
__property TTVEditedEvent OnEdited = {read=FOnEdited, write=FOnEdited};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTreeView |
Description
Occurs after the user edits the Text property of a node.
Write an OnEdited event handler to respond to changes the user makes to the node labels. The Node parameter is the node whose label was edited. The S parameter is the new value of the node's Text property. The node's label can be changed in an OnEdited event handler before the user's edits are committed. This event can occur only if ReadOnly is set to false.
OnEdited is an event handler of type Vcl.ComCtrls.TTVEditedEvent.