Vcl.ComCtrls.TToolButton.UpdateControl
Delphi
procedure UpdateControl; virtual;
C++
virtual void __fastcall UpdateControl();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolButton |
Description
Ensures the associated tool bar responds to changes in the tool button.
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.