Vcl.Controls.TGraphicControl

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTGraphicControl

Delphi

TGraphicControl = class(TControl)

C++

class PASCALIMPLEMENTATION TGraphicControl : public TControl

Properties

Type Visibility Source Unit Parent
class public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls Vcl.Controls

Description

TGraphicControl is the base class for all lightweight controls.

TGraphicControl supports simple lightweight controls that do not need the ability to accept keyboard input or contain other controls. Since lightweight controls do not wrap Windows screen objects, they are faster and user fewer resources than controls based on TWinControl.

TGraphicControl provides a Canvas property for access to the control's drawing surface and a virtual Paint method called in response to paint requests received by the parent control.

Code Examples