RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.Repaint Method

Forces the control to repaint its image on the screen.

Pascal
procedure Repaint; virtual;
C++
virtual __fastcall Repaint();

Call Repaint to force the control to repaint its image immediately. If the ControlStyle property includes csOpaque, the control paints itself directly. Otherwise, the Repaint method calls the Invalidate method and then the Update method so that any visible portions of controls beneath the control will be repainted as well. 

 

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