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

TCustomForm.BorderStyle

The border style affects the title bar, border and resize behavior of the form.

Declaration

Source position: forms.pp line 778

public property TCustomForm.BorderStyle : TFormBorderStyle
  read FFormBorderStyle
  write SetFormBorderStyle
  default bsSizeable;

Description

Use BorderStyle to get or set the appearance of the form's border.

By default it is a sizeable window, but it could, for example, be a dialog form or a tool window, or could be non-sizeable.

This property is slightly different (has a different base type) from the TCustomControl.BorderStyle property. When the form is put into another control the window borders depend on the widgetset. There are no borders under GTK.

See also

TCustomForm.AutoScroll

  

Indicates if the form can automatically show or hide scroll bars.

TFormBorderStyle

  

Represents border styles available for a Form.

TBorderStyle

  

Possible types of borders (with or without border).

TCustomControl.BorderStyle

  

Indicates the border style displayed around the control.


Version 3.2 Generated 2024-02-25 Home