Vcl.ComCtrls.TTreeNode.Selected

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Selected: Boolean read GetSelected write SetSelected;

C++

__property bool Selected = {read=GetSelected, write=SetSelected, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTreeNode

Description

Determines whether the node is selected.

Set Selected to true to select the node. The appearance of a selected node depends on whether it has the focus and on whether the system colors are used for selection. When a node becomes selected, the tree view's OnChanging and OnChanged events are triggered.

See Also