[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base class which provides a canvas property used in graphic controls.
Source position: controls.pp line 304
type TControlCanvas = class(TCanvas) |
||
protected |
||
procedure CreateHandle; override; |
|
Ensures that a handle exists for the class instance. |
function GetDefaultColor(); override; |
|
Gets the color value used for clDefault. |
public |
||
constructor Create; |
|
Constructor for the class instance. |
destructor Destroy; override; |
|
Destructor for the class instance. |
procedure FreeHandle; override; |
|
Frees the Handle for the control canvas, and its device context when assigned. |
function ControlIsPainting; |
|
Indicates if the Control has called but not completed its Paint method. |
|
The Control object for which the Canvas is used. |
|
end; |
|
Base class which provides a canvas property used in graphic controls. |
|
| | ||
|
Implements a drawing surface for a visual control or bitmap image. |
|
| | ||
TObject |
TControlCanvas is a TCanvas descendant that implements the base class which provides a canvas used in graphic controls. TControlCanvas extends the ancestor class by including a property representing the TControl associated with the canvas, a window handle for the associated control, and the device context for the handle.
TControlCanvas is used in the implementation of classes like TGraphicControl and TCustomControl, and other visual controls.
|
Implements a drawing surface for a visual control or bitmap image. |
|
|
TGraphicControl is the base class for all lightweight controls. |
|
|
The base class for windowed controls which paint themselves. |
CT Web help |
CodeTyphon Studio |