[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
A bevel placed around the edge of buttons and other components
Source position: extctrls.pp line 555
type TBevel = class(TGraphicControl) |
||
protected |
||
class procedure WSRegisterClass; override; |
|
Registers this component class with the current WidgetSet. |
class function GetControlClassDefaultSize; override; |
||
procedure Paint; override; |
|
Override this method with your own painting code. |
public |
||
constructor Create(); override; |
|
Create - constructor for TBevel: calls inherited Create then sets initial style, shape and bounds |
destructor Destroy; override; |
||
procedure Assign(); override; |
||
published |
||
property Align; |
|
Specifies the placement of the control inside its Parent. |
property Anchors; |
|
The set of anchor definitions for this control. |
property BorderSpacing; |
|
Determines the inner and outer border spacing for this control. |
property Constraints; |
|
The minimal and maximal Width and Height of this control. |
property ParentShowHint; |
||
property Shape: TBevelShape; [rw] |
|
Shape - whether a box, a frame or a line along one of the edges |
property ShowHint; |
||
property Style: TBevelStyle; [rw] |
|
Style - whether raised or lowered |
property Visible; |
|
Allows to show or hide the control, and all of its children. |
property OnChangeBounds; |
|
Event handler for a change of the Bounds of the control. |
property OnResize; |
|
Notification handler for a resize of the control. |
property OnMouseDown; |
|
Event handler for mouse button going down. |
property OnMouseMove; |
|
Event handler for mouse movement within the control. |
property OnMouseUp; |
|
Event handler for mouse button going up. |
property OnPaint; |
|
Supply your own OnPaint handler for painting the control. |
end; |
|
A bevel placed around the edge of buttons and other components |
|
| | ||
|
TGraphicControl is the base class for all lightweight controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |
Its appearance is governed by TBevelShape and TBevelStyle