button Caption property
Return to Introduction  Previous page  Next page
Applies to
acButton, acBitBtn, acCheckGroupBox and acRichLabel components (to all visible controls, in general)  

property Caption: String;  

The Caption property specifies the text for the button.  
To separate the lines in the multiline caption set WordWrap to True, and use linebreaks (#13#10) as separators.  
To underline a character in a Caption that labels a component, include an ampersand (&) before the character. This type of character is called an accelerator character. The user can then select the component by pressing Alt while typing the underlined character. To display an ampersand character in the caption, use two ampersands (&&).  

See also
WordWrap property.