TabControl.TabFixedHeight property (Access)
Use the TabFixedHeight property to specify or determine the height of the tabs on a tab control. Read/write Integer.
Syntax
expression.TabFixedHeight
expression A variable that represents a TabControl object.
Remarks
The TabFixedHeight property setting is a value that represents the height of tabs in the unit of measurement specified in the Regional Options dialog box in the Windows Control Panel. If you set this property to zero, the tabs automatically adjust to the height of the tab contents.
You can also set the default for this property by setting a control's DefaultControl property in Visual Basic.
This property uses an Integer value representing the height of the tabs in twips and can be set in any view.
Note
To use a unit of measurement different from the setting in the Regional Options dialog box in the Windows Control Panel, specify the unit, such as cm or in (for example, 5 cm or 3 in).
You can't change the color of a tab control. If the tabs don't cover the height of the tab control, the area behind the tabs is displayed. If you place a tab control on an object with a different color than the tab control, you should make sure that the tabs cover the control's background area.
Example
The following example sets the height of each tab in the tab control TabCtl1 on the Mailing List form to 500 twips.
Forms("Mailing List").Controls("TabCtl1").TabFixedHeight = 500
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for