Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.Invalidate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Invalidate; virtual;

C++

virtual void __fastcall Invalidate();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Completely repaints the control.

Use Invalidate when the entire control needs to be repainted. When more than one region within the control needs repainting, Invalidate will cause the entire window to be repainted in a single pass, avoiding flicker caused by redundant repaints. There is no performance penalty for calling Invalidate multiple times before the control is actually repainted.

See Also


Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance