Skip to main content

TdxTreeViewNodeEvent Type

The action procedural type for tree nodes.

Declaration

TdxTreeViewNodeEvent = procedure(Sender: TdxCustomTreeView; ANode: TdxTreeViewNode) of object;

Parameters

Name Type Description
Sender TdxCustomTreeView

The Tree View control that raised a node action event.

ANode TdxTreeViewNode

The target tree node.

Remarks

The following OnAddition event handler focuses the added node:

procedure TForm1.dxTreeViewControl1Addition(Sender: TdxCustomTreeView;
  ANode: TdxTreeViewNode);
begin
  ANode.Focused := True;
end;

The following Tree View events reference the TdxTreeViewNodeEvent type:

See Also