RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGraphicControl Class

TGraphicControl is the base class for all lightweight controls.

Pascal
TGraphicControl = class(TControl);
C++
class TGraphicControl : public TControl;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!