Sign in Join
FPDoc Onlineexperiment

TCustomTabControl.GetCapabilities function

Member of TCustomTabControlpublicIn unit ComCtrls

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

Declaration

pascal
function 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

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