Vcl.ComCtrls.THotKey.AutoSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoSize: Boolean read FAutoSize write SetAutoSize default 1;

C++

__property AutoSize = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls THotKey

Description

Determines whether the accelerator key automatically changes its height to accommodate the font size.

Vcl.ComCtrls.THotKey.AutoSize inherits from Vcl.ComCtrls.TCustomHotKey.AutoSize. All content below this line refers to Vcl.ComCtrls.TCustomHotKey.AutoSize.

Determines whether the accelerator key automatically changes its height to accommodate the font size.

Use AutoSize to fully display the font on the accelerator key control. When AutoSize is true, the height of the accelerator key changes to display the key combinations typed in it. When AutoSize is false, the accelerator key remains the same height, regardless of any font changes. The default value is true.