RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.Update Method

Processes any pending paint messages immediately.

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

Call Update to force the control to be repainted before any more, possibly time-consuming, processing takes place. Use Update to provide immediate feedback to the user that cannot wait for the Windows paint message to arrive. 

Update does not invalidate the control, but simply forces a repaint of any regions that have already been invalidated. Call Repaint instead to invalidate the control as well. 

 

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