Menu Item - Caption Property

Text to be displayed within the control

Member of Menu Item (PRIM_MITM)

Data Type - String


The Caption property specifies the text to be displayed within the menu item.
A caption can be either a literal string or a Multilingual Variable that will show the correct string for the current runtime language.
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.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020