Vcl.Buttons.TBitBtn.SetButtonStyle
Delphi
procedure SetButtonStyle(ADefault: Boolean); override;
C++
virtual void __fastcall SetButtonStyle(bool ADefault);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Buttons.pas Vcl.Buttons.hpp |
Vcl.Buttons | TBitBtn |
Description
Sets the Style property for a button.
Vcl.Buttons.TBitBtn.SetButtonStyle inherits from Vcl.StdCtrls.TCustomButton.SetButtonStyle. All content below this line refers to Vcl.StdCtrls.TCustomButton.SetButtonStyle.
Sets the Style property for a button.
The SetButtonStyle method is called to change the Style property according to the button's state, whenever a button changes its focus state.