[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 1833
type TCustomControl = class(TWinControl) |
||
protected |
||
procedure WMPaint(); message; |
|
WMPaint - LCL message for painting |
procedure DestroyWnd; override; |
|
DestroyWnd - destroy the window for this control |
procedure PaintWindow(); override; |
|
Paint handler plug-in |
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; |
||
destructor Destroy; override; |
||
|
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 |
|
| | ||
|
TWinControl - the base class for all windowed controls |
|
| | ||
|
TControl - the main ancestor class for visual controls. |
|
| | ||
TLCLComponent |
||
? | ||
TObject |
Contains simple basic definitions to create, destroy and paint window controls and set basic properties like canvas and border
|
TWinControl - the base class for all windowed controls |
|
|
TControl - the main ancestor class for visual controls. |