[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomPanel: The base type for TPanel
Source position: extctrls.pp line 1192
type TCustomPanel = class(TCustomControl) |
||
class procedure WSRegisterClass; override; |
|
WSRegisterClass - Register this Class for the current Widget Set |
protected |
||
procedure AdjustClientRect(); override; |
|
AdjustClientRect - method for adjusting the size and position of the client control |
protected |
||
class function GetControlClassDefaultSize; override; |
|
Find the default size for this class of controls (by reference to parents) |
protected |
||
procedure CMParentColorChanged(); message; |
|
Control Message for a change in parent colour |
function GetDefaultDockCaption; override; |
|
Returns the default string for the dock caption, control's Name. |
procedure Loaded; override; |
|
|
procedure RealSetText(); override; |
|
Procedure to store text associated with the control in a string |
procedure Paint; override; |
|
The default paint handler for the class |
procedure UpdateParentColorChange; |
|
UpdateParentColorChange - update any pending changes in parent colour |
public |
||
constructor Create(); override; |
|
Create - constructor for TCustomPanel: calls inherited Create then sets initial style, bevel, colour, alignment and bounds |
property Align; |
|
Used to align the control to the top, bottom, left or right of its client. |
property Alignment: TAlignment; [rw] |
|
Alignment - whether text is left or right justified, or centered |
property BevelInner: TPanelBevel; [rw] |
|
BevelInner - determines the nature of the Inner Bevel of the panel (whether raised, lowered etc) |
property BevelOuter: TPanelBevel; [rw] |
|
BevelOuter - determines the nature of the Outer Bevel of the panel (whether raised, lowered etc) |
property BevelWidth: TBevelWidth; [rw] |
|
BevelWidth - the Width of the panel's bevel in pixels |
property Color; |
|
Determine the colour for the current control |
property FullRepaint: Boolean; [rw] |
|
FullRepaint - if True, the panel needs to be fully repainted after each change |
property ParentColor; |
|
ParentColor - should the control have the same colour as the parent? Default is true |
property TabStop; |
|
Is the control in the sequence of controls accessed by successive presses of the Tab key? |
end; |
|
TCustomPanel: The base type for TPanel |
|
| | ||
|
TCustomControl - a base class for many window controls |
|
| | ||
| | ||
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
TCustomPanel: The base type for TPanel
A Panel is a defined rectangular area of the form into which other components can be placed to group them functionally and geographically.
TCustomPanel defines the positioning and bevelling properties of any descendent classes, and provides methods for painting and writing text to the panel.
lazarus-ccr.sourceforge.net |