Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomTabControl.TabHeight

Height in pixels for the tabs on the control.

Declaration

Source position: comctrls.pp line 508

public property TCustomTabControl.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.

Remark: 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.

Version info

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

See also

TCustomTabControl.TabWidth

  

Width in pixels for the tabs on the control.

TCustomTabControl.Style

  

Indicates the appearance or display style used for the tabs on the control.

TCustomTabControl.ShowTabs

  

Enables display of tabs on the control when set to True (default).

TCustomTabControl.GetCapabilities

  

Gets the set of platform-specific tab control options supported for the widgetset.

TCustomTabControl.DoAutoAdjustLayout

  

Performs actions needed to apply the specified auto-adjust layout policy.



CT Web help

CodeTyphon Studio