Show: Delphi C++
Display Preferences

Vcl.ExtCtrls.TCustomPanel.BevelWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BevelWidth: TBevelWidth read FBevelWidth write SetBevelWidth default 1;

C++

__property Vcl::Controls::TBevelWidth BevelWidth = {read=FBevelWidth, write=SetBevelWidth, default=1};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomPanel

Description

Determines the width, in pixels, of both the inner and outer bevels of a panel.

Use BevelWidth to specify how wide the inner or outer bevel should be. Do not confuse BevelWidth, which is the width of the bevels, with BorderWidth, which is the space between the bevels.

If both the BevelInner and BevelOuter properties are bvNone, BevelWidth has no effect. To remove both bevels, set the BevelInner and BevelOuter properties to bvNone, rather than setting the BevelWidth to 0, as this involves less overhead when painting.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance