Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.ShowSeparators property

Member of TCustomTreeViewprotectedIn unit ComCtrls

Indicates whether horizontal separator lines are drawn between nodes on the tree view control.

Declaration

pascal
property ShowSeparators: Boolean read GetShowSeparators write SetShowSeparators default False;

Description

ShowSeparators is a Boolean property which enables or disables drawing of separator lines between the nodes on the tree view control. When enabled, a line is drawn across the width of the control between each of the nodes. The values in TreeLineColor and TreeLinePenStyle are used to draw the horizontal line in the DoPaintNode method.

ShowSeparators is a convenience property; its value is read from and written to the Options for the control. ShowSeparators contains True when the value tvoShowSeparators has been included in the Options property, and False if the value has been omitted. Changing the value for the property causes Options to be updated to include or exclude tvoShowSeparators as needed for the Boolean value. The control is redrawn when the value in Options is modified.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.