Sign in Join
FPDoc Onlineexperiment

TTabControl.TabPosition property

Member of TTabControlpublishedIn unit ComCtrls

Indicates the edge where the tabs for the control are aligned.

Declaration

pascal
property TabPosition: default tpTop;

Description

TabPosition is a TTabPosition property which indicates the edge on the control where its tabs are aligned. The default value for the property is tpTop and causes the Tabs to be drawn across the top edge of the control. See TTabPosition for the other values allowed in the property.

Changing the value for the property causes InvalidateClientRectCache to be called to invalidate the cached ClientRect for the control (and its child controls). The changed value(s) are sent to the widgetset class instance, and the LCL interface recalculates the client rectangle(s) the next time the property value is accessed.

Use TabHeight and TabWidth to control the dimensions for the Tabs on the control. Use ShowTabs to control whether Tabs are visible on the control.

This description is the one of ComCtrls.TCustomTabControl.TabPosition.

See also

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