TdxTreeViewNodeTextEvent Type
In This Article
The text-related procedural type for tree nodes.
#Declaration
Delphi
TdxTreeViewNodeTextEvent = procedure(Sender: TdxCustomTreeView; ANode: TdxTreeViewNode; var AText: string) of object;
#Parameters
Name | Type | Description |
---|---|---|
Sender | Tdx |
The Tree View control that raised a text-related event. |
ANode | Tdx |
The target tree node. |
AText | string | A text string associated with the target tree node. |
#Remarks
The following OnHint event handler displays a string stored in a node’s Data property in the hint:
procedure TForm1.dxTreeViewControl1Hint(Sender: TdxCustomTreeView;
ANode: TdxTreeViewNode; var AText: string);
begin
if ANode.Data <> nil then
try
AText := string(ANode.Data^);
except;
end;
end;
The following Tree View events reference the TdxTreeViewNodeTextEvent type:
See Also