[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomControl - a base class for many window controls
Source position: controls.pp line 1999
type TCustomControl = class(TWinControl) |
||
class procedure WSRegisterClass; override; |
|
WSRegisterClass - Register this Class for the current Widget Set |
protected |
||
procedure WMPaint(); message; |
|
WMPaint - LCL message for painting |
procedure DestroyWnd; override; |
|
DestroyWnd - destroy the window for this control |
procedure PaintWindow(); override; |
|
PaintWindow - method for painting a window |
procedure FontChanged(); override; |
|
FontChanged - method for dealing with a changed font |
procedure SetColor(); override; |
|
Set up the colour to be used by the control |
procedure Paint; virtual; |
|
The default paint handler for the class |
public |
||
constructor Create(); override; |
|
Create - constructor for TCustomControl: performs inherited Create, then creates local Canvas and sets DoubleBuffered to be False |
destructor Destroy; override; |
|
Destroy - destructor for TCustomControl: frees local Canvas then performs inherited Destroy |
|
The area of a control on which its components are drawn or painted |
|
property BorderStyle; |
|
BorderStyle - none, or single |
property OnPaint: TNotifyEvent; [rw] |
|
Event handler for painting |
end; |
|
TCustomControl - a base class for many window controls |
|
| | ||
| | ||
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
Contains simple basic definitions to create, destroy and paint window controls and set basic properties like canvas and border
lazarus-ccr.sourceforge.net |