Vcl.Controls.TCustomTransparentControl.Invalidate
Delphi
procedure Invalidate; override;
C++
virtual void __fastcall Invalidate();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TCustomTransparentControl |
Description
Schedules a control repaint.
Vcl.Controls.TCustomTransparentControl.Invalidate inherits from Vcl.Controls.TWinControl.Invalidate. All content below this line refers to Vcl.Controls.TWinControl.Invalidate.
Schedules a control repaint.
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.