Sign in Join
FPDoc Onlineexperiment

TCustomTabControl.TabHeight property

Member of TCustomTabControlpublicIn unit ComCtrls

Height in pixels for the tabs on the control.

Declaration

pascal
property TabHeight: SmallInt read FTabHeight write SetTabHeight stored TabHeightIsStored;

Description

TabHeight is a SmallInt property which contains the number of pixels used as the height for the tabs displayed on the tabbed control. The default value is 0 (zero) when an explicit value has not been assigned, and causes the default height for the native tab control to be used.

Changing the value for the property causes the widgetset class instance to be updated with the new value. The property value is included in the LCL component streaming mechanism when an explicit positive non-zero value has been assigned in the class instance. The value may be resized using a scaling factor in the DoAutoAdjustLayout method.

Use of TabHeight requires support for the feature in the native tab control. The property value is not used if nbcTabsSizeable is not included in the capabilities for the platform (GetCapabilities).

Use TabWidth to set the width for the tabs on the control.

Modified in LCL version 3.0 to use a storage specifier for the property value in LCL component streaming.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.