Vcl.Forms.TCustomForm.BorderStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

__property TFormBorderStyle BorderStyle = {read=FBorderStyle, write=SetBorderStyle, stored=IsForm, default=2};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

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