RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolButton.UpdateControl Method

Ensures the associated tool bar responds to changes in the tool button.

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

Tool buttons call UpdateControl after any property changes that could affect the layout of the tool bar that contains the button. UpdateControl informs the tool bar that the button has changed so that it can make any necessary adjustments. 

 

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