[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 behaviour of the form.

Declaration

Source position: forms.pp line 682

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 When the form is put into another control the window borders depend on the widgetset. There are no borders under gtk.

See also

#lcl.Controls.TFormBorderStyle

  

Style of a form's border.

#lcl.Controls.TBorderStyle

  

Possible types of borders (with or without border).

#lcl.Controls.TCustomControl.BorderStyle

  

Allows to show a border (line) around the control,

The latest version of this document can be found at lazarus-ccr.sourceforge.net.