Vcl.Forms.TForm.BorderStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BorderStyle: TFormBorderStyle read FBorderStyle write SetBorderStyle stored IsForm default 2;

C++

__property BorderStyle = {default=2};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TForm

Description

Specifies the appearance and behavior of the form border.

Vcl.Forms.TForm.BorderStyle inherits from Vcl.Forms.TCustomForm.BorderStyle. All content below this line refers to Vcl.Forms.TCustomForm.BorderStyle.

Specifies the appearance and behavior of the form border.

Use BorderStyle to get or set the appearance and behavior of the form border. BorderStyle can be any of the following TForm BorderStyle values:



Value Meaning

bsDialog

Not resizable; no minimize/maximize menu

bsSingle

Not resizable; minimize/maximize menu

bsNone

Not resizable; no visible border line

bsSizeable

Standard resizable border

bsToolWindow

like bsSingle but with a smaller caption

bsSizeToolWin

like bsSizeable with a smaller caption



Note: Changing the border style of an MDI child form to bsDialog or bsNone has no effect.

See Also