RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolButton.Caption Property

Specifies button caption.

Pascal
property Caption: TCaption;
C++
__property TCaption Caption;

Use Caption to specify the caption displayed on the button.  

To underline a character in a Caption that labels a tool button, include an ampersand (&) before the character. This type of character is called an accelerator character. The user can then select the tool button by pressing Alt while typing the underlined character. To display an ampersand character in the caption, use two ampersands (&&). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!