RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.BorderStyle Property

Specifies the appearance and behavior of the form border.

Pascal
property BorderStyle: TFormBorderStyle;
C++
__property TFormBorderStyle BorderStyle;

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.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!