Tab Sheet - Caption Property

Text to be displayed in the tab header

Member of Tab Sheet (PRIM_TBSH)

Data Type - String


The Caption property specifies the text to be displayed within the button.
A caption can be either a literal string or a Multilingual Variable that will show the correct string for the current runtime language. If the caption is too long to fit in the control it will be clipped or show ellipses, depending on the value specified in the Ellipses property.
For Windows applications, embedding an ampersand (&) in the caption will assign an access key to the control of the character immediately to the right of the ampersand.
When the ALT key is down, this character will emulate a mouse click, which will open the tab sheet.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020