[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomTreeView.BorderWidth

Width of the line drawn as a border around the control.

Declaration

Source position: comctrls.pp line 3736

public property TCustomTreeView.BorderWidth : TBorderWidth
  default 0;

Description

The default value for the property is 0 in TCustomTreeView. Changing the value for the property causes a CM_BORDERCHANGED control message to be performed.

BorderWidth is used when a tree node in Items calculates its display rectangle. It provides the value for the Left member in the TRect instance. It is used when expand/collapse indicators are displayed for the control. It is also used when the bounds rectangle for the Editor on the control is calculated.

See also

TWinControl.BorderWidth

  

Width of the Border around the control; default is zero.


Version 3.2 Generated 2024-02-25 Home