RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolButton.BeginUpdate Method

Suspends screen repainting.

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

The BeginUpdate method prevents the tool bar that contains the button from adjusting to changes in the buttons size and position until the EndUpdate method is called. Use BeginUpdate to speed processing and avoid flicker while making changes to the tool button's properties. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!