RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPanel.BorderStyle Property

Determines the style of the line drawn around the perimeter of the panel control.

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

Use BorderStyle to specify whether the panel has a single line drawn around it. These are the possible values:

Value 
Meaning 
bsNone  
No visible border  
bsSingle  
Single-line border  

Do not confuse the line drawn around the panel with the BorderWidth of the panel. The BorderWidth of the panel is the distance between the outer and inner bevels. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!