FixedWidth

Applies to

Tab controls

Description

When the FixedWidth property is enabled, tabs have a fixed width. The width is determined by the longest tab label. When FixedWidth is not enabled, tabs shrink to the length of their text labels.

Usage

In a painter

To set the FixedWidth property:

  • Select the Fixed Width check box on the General page of the tab control's Properties view.

In scripts

The FixedWidth property takes a boolean value. The following example specifies that tabs in the control tab_1 have a fixed width:

tab_1.FixedWidth = TRUE