Sign in Join
FPDoc Onlineexperiment

TCustomTabControl.MultiLine property

Member of TCustomTabControlpublicIn unit ComCtrls

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

Declaration

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

Description

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.

See also

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