TCustomTreeView.ShowButtons property
Enables an expand/collapse (fold/unfold) icon for nodes with child nodes.
Declaration
property ShowButtons: Boolean read GetShowButtons write SetShowButton default True;Description
ShowButtons is a
Boolean property which indicates
whether an expand / collapse (fold) indicator is drawn for a tree node which
has child nodes. The default value for the property is
True, and causes
an indicator to be drawn for qualified tree nodes.
ShowButtons is a convenience property; its value is read from and written to the Options for the control. When set to True, the value tvoShowButtons is included in the Options property. When set to False, tvoShowButtons is excluded from Options. Changing the value for the property causes the control to be redrawn.
ShowButtons is used during the paint process in the DoPaintNode method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
