Vcl.ComCtrls.TToolButton.RefreshControl
Delphi
procedure RefreshControl; virtual;
C++
virtual void __fastcall RefreshControl();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolButton |
Description
Repaints the button if necessary.
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.