[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControlCanvas

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

The base class for the canvas property of several graphic controls, such as TGraphicControl and TCustomControl

Declaration

Source position: controls.pp line 302

type TControlCanvas = class(TCanvas) end;

protected

  procedure CreateHandle; override;

  

CreateHandle - greates a new Handle for the Canvas

  function GetDefaultColor(); override;

public

  constructor Create;

  destructor Destroy; override;

  procedure FreeHandle; override;

  

FreeHandle - release a Handle

  function ControlIsPainting;

  

  property Control: TControl; [rw]

  

The Control object for which this is the Canvas.

Inheritance

TControlCanvas

  

The base class for the canvas property of several graphic controls, such as TGraphicControl and TCustomControl

|

TCanvas

  

TCanvas represents a drawing surface which might be attached to a visual control which might be displayed on the screen or to an offscreen bitmap. It contains a number of drawing functions.

|

TFPCustomCanvas

?

TObject

Description

[provide usable links on the methods]

See also

TGraphicControl

  

TGraphicControl is the base class for all lightweight controls.

TCustomControl

  

The base class for windowed controls which paint themselves.

TCanvas

  

TCanvas represents a drawing surface which might be attached to a visual control which might be displayed on the screen or to an offscreen bitmap. It contains a number of drawing functions.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.