Sign in Join
FPDoc Onlineexperiment

TTabControl.MultiLine property

Member of TTabControlpublishedIn unit ComCtrls

Declaration

pascal
property MultiLine: Boolean read GetMultiLine write SetMultiLine default False;

Description

Not described here; this is what TCustomTabControl.MultiLine says of it:

Indicates whether the caption on a tab can have multiple lines of text.

MultiLine is a Boolean property which indicates whether the caption for a tab can be displayed as multiple lines of text. A multi-line caption may be needed when the length of the text exceeds the value in TabWidth, or the caption text contains embedded end-of-line character(s).

MultiLine contains True when the value nboMultiLine has been included in the Options for the tabbed control. The default value for the property is False and limits tab captions to a single line of text.

Changing the value for the property causes the Options property to be updated to reflect the new property value. When set to True, nboMultiLine is included in the Options property. Otherwise, the value is excluded from Options.

MultiLine (and the nboMultiLine option) may not be supported on all of the platforms where the LCL is hosted. Use the GetCapabilities method to determine whether a specific tab control option is supported for the platform.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.