[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Event handler signalled when the tree view control has been edited.
Source position: comctrls.pp line 3657
protected property TCustomTreeView.OnEdited : TTVEditedEvent |
OnEdited is a TTVEditedEvent property with the event handler signalled when editing has been completed for a node on the tree view control.
OnEdited is signalled (when assigned) from the EndEditing method, and occurs when the edited text for the node is retrieved from the node editor and stored in the TTreeNode instance. It allows the application to examine, update, or override the value stored in the Text property for the node.
Arguments to the event handler include:
OnEditing occurs after the States property has been updated to exclude tvsIsEditing from the flag values, and before the new value is stored in the TTreeNode instance.
Use OnEndEditing to perform actions needed when the tree node is disconnected from the internal node Editor and the control is redrawn.
Use OnEditing to perform actions needed when editing is started for a tree node on the control.
|
Updates the specified tree node and hides editor. |
|
|
Contains the state values in effect for the control. |
|
|
Event handler signalled when EndEditing is called for the control. |
|
|
Event handler signalled to determine whether the editor can be enabled for a tree node. |
|
|
Text displayed for the tree node. |
|
|
TTVEditedEvent - generic event handling method for a node that has been edited. |
Version 3.2 | Generated 2024-02-25 | Home |