TTreeNode.Selected property
Declaration
property Selected: Boolean read GetSelected write SetSelected;Description
Selected is a
Boolean property which indicates the
current node is selected in the associated
TreeView control. The
property value is
True when
nsSelected or
nsMultiSelected has been included in the
States
property. nsSelected indicates that the node is assigned to the
TCustomTreeView.Selected property. nsMultiSelected indicates that
the node is stored in the
TCustomTreeView.Selections property
when it has
MultiSelect enabled.
Setting a new value for the property causes the values in States to be updated. Similarly, the TreeView control is updated to used the node in the Selected or Selections property.
The Update method is called to redraw the TreeView control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
