Vcl.Buttons.TBitBtn.SetButtonStyle

From RAD Studio API Documentation

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. {{#multireplace:Vcl.Buttons.TBitBtn.SetButtonStyle|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.StdCtrls.TCustomButton.SetButtonStyle|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.StdCtrls.TCustomButton.SetButtonStyle|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.

See Also