Push Button - Caption Property

Text to be displayed within the control

Member of Push Button (PRIM_PHBN)

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.

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2