RAD Studio VCL Reference
TActionClientItem.Caption Property

Specifies the caption the action manager uses when the TActionClientItem is rendered on an action band.

property Caption: string;
__property AnsiString Caption;

Use Caption to specify the caption that is displayed for the UI element that is rendered on an action band. By default, the Caption is blank and the action manager uses the caption of the underlying action that the TActionClientItem represents. Changing the Caption property of the TActionClientItem does not change the caption of the underlying action. If an action band contains a TCustomizeBandAction standard action, the user of the application can change this property. Because the caption can be changed at runtime, the default caption that will be used, should be set in the action itself and not in the TActionClientItem object.

Note: Setting the Caption property to a dash character causes the TActionClientItem to be rendered as a separator control, such as a menu item separator, by the action band.

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