Schedules a control repaint.
procedure Invalidate; override;
virtual __fastcall Invalidate();
Invalidate informs a control that its entire surface needs to be repainted. Calling Invalidate can prevent flicker caused by a series of partial repaints. There is no performance penalty for calling Invalidate multiple times before the control is actually repainted.
The actual repaint does not occur until the control is updated. To force an immediate repaint, call Repaint instead.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!