TabFixedWidth

Returns or sets the fixed height and width of all Tab objects in a TabStrip control, but only if the TabWidthStyle property is set to tabFixed.

Syntax

object.TabFixedHeight [= integer]

object.TabFixedWidth [= integer]

The TabFixedHeight and TabFixedWidth properties syntax has these parts:

Part Description
object An object expression that evaluates to an object.
integer The number of pixels or twips of the height or width of a TabStrip control. The scale used for integer is dependent on the ScaleMode of the container.

Remarks

The TabFixedHeight property applies to all Tab objects in the TabStrip control. It defaults either to the height of the font as specified in the Font property, or the height of the ListImage object specified by the Image property, whichever is higher, plus a few extra pixels as a border. If the TabWidthStyle property is set to tabFixed, and the value of the TabFixedWidth property is set, the width of each Tab object remains the same whether you add or delete Tab objects in the control.