RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBevel.Paint Method

Render control surface.

Pascal
procedure Paint; override;
C++
virtual __fastcall Paint();

The Paint method is called automatically when a lightweight control needs update its display area. Code in the Paint method uses the Canvas property to render the control surface. 

As implemented in TGraphicControl, Paint does nothing. Specific rendering logic is provided by Paint methods in descendant control classes. 

 

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