EControl Form Designer Pro
TBtnPanel.BorderWidth Property

Specifies the distance, in pixels, between the outer and inner bevels.

property BorderWidth;

Use BorderWidth to specify how wide the border around the panel should be. A value of 0 (zero) means no border should appear. 


The border of a panel is the area between the outer and inner bevels. It is visible only if the inner bevel is raised or lowered, but affects the inset of the caption within the panel even if BevelInner is bvNone. If the Alignment property is not taCenter, the Caption will be aligned to the inner edge of the border. This edge is BorderWidth pixels in from the outer bevel if BevelInner is bvNone. It is the inner edge of the inner bevel otherwise. 


Do not confuse the border of the panel with line drawn around the panel itself. The line around the panel is specified by the BorderStyle property.

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!