TiModeComboBox.AutoSize

TiModeComboBox

Determines whether the height of the combo box control automatically resizes to accommodate the text.

property AutoSize : Boolean

Description

Use AutoSize to make the combo box control adjust its size automatically so the client area accommodates the height of the text. When AutoSize is False, the combo box control has a fixed height. When AutoSize is True, the size of the control is readjusted whenever a change occurs that could affect the height of the control, such as a change to the font or border style.

Note: AutoSize only adjusts the height of the combo box control. Even with AutoSize set to True, text in the combo box control may appear truncated if it extends beyond the width of the control.

Example

Delphi

iComponent.AutoSize := True;

C++ Builder

iComponent->AutoSize = True;

Contents | Index | Previous | Next