RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolButton.RefreshControl Method

Repaints the button if necessary.

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

Use RefreshControl to repaint the button if necessary. Use RefreshControl rather than the Refresh method to ensure that the tool button honors the BeginUpdate method. 

RefreshControl is called when the button is aligned, wrapped, or changed in style. 

 

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