Vcl.ComCtrls.TToolButton.SetAutoSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetAutoSize(Value: Boolean); override;

C++

virtual void __fastcall SetAutoSize(bool Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolButton

Description

Sets the value of the AutoSize property.

SetAutoSize is the protected write implementation of the AutoSize property. TToolButton overrides the inherited method so that it can force the parent toolbar to update its layout if the tool button resizes in response to changing AutoSize to true.

See Also