RAD Studio VCL Reference
TCategoryPanel.Caption Property

Specifies a text string that identifies the control panelto the user.

property Caption: TCaption;
__property TCaption Caption;

Use Caption to specify the text string that labels the control. 

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 (&&).

Note: Controls that display text use either the Caption property or the Text property to specify the text value. Which property is used depends on the type of control. In general, Caption is used for text that appears as a window title or label, while Text is used for text that appears as the content of a control.
Note: The Caption property is a published property. Cast an instance of a TCustomCategoryPanel to a TCategoryPanel to access the Caption property.


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