[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomTabControl.GetCapabilities

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

## Declaration

Source position: comctrls.pp line 483

`public function TCustomTabControl.GetCapabilities: TCTabControlCapabilities; virtual;`

## Function result

Set type with the TCTabControlCapability enumeration values supported for the platform.

## Description

The return value is provided by the GetCapabilities method in the widgetset class instance.

GetCapabilities is called when a new value is assigned to a property, like TabWidth and TabHeight, which may not be available on all of the supported LCL platforms. If the platform does not support the capability, the new property value is not posted to the widgetset class instance.

## See also

TCustomTabControl.Options |  | The set of Options enabled for the tabbed control.
TCTabControlCapabilities |  | Set type used to store values from the TCTabControlCapability enumeration.
TCTabControlCapability |  | Represents the capabilities which can be enabled for a notebook or tab control.
TCTabControlOptions |  | Set type used to store values from the TCTabControlOption enumeration.
TCTabControlOption |  | Represents the LCL options available for TCustomTabControl.