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

TWinControl.BorderStyle

Indicates the border style displayed around the control.

Declaration

Source position: controls.pp line 2329

protected property TWinControl.BorderStyle : TBorderStyle
  read GetBorderStyle
  write SetBorderStyle
  default bsNone;

Description

BorderStyle is a TBorderStyle property which indicates the borders drawn for the control. bsSingle indicates that borders are drawn for the control. The default value for the property is bsNone, and indicates that borders are not drawn for the control.

Changing the value for the property causes the widgetset class to be updated when the Handle has been allocated for the control.

BorderStyle is used in the CreateParams method. It causes the WS_EX_CLIENTEDGE extended window style flag to be included in the control when the property is set to bsSingle.

BorderStyle is used along with BorderWidth in descendent classes which allow their borders to be drawn with a raised or lowered appearance.

See also

TWinControl.BorderWidth

  

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

TBorderStyle

  

Possible types of borders (with or without border).

TFormBorderStyle

  

Represents border styles available for a Form.


Version 3.2 Generated 2024-02-25 Home