Skip to main content

TdxBarItem.Caption Property

Specifies text which identifies an item to a user.

Declaration

property Caption: string read; write;

Property Value

Type
string

Remarks

Use Caption to associate an item with text which describes the item. To create an accelerator in the Caption, add an ampersand (&) before the character that you designate as an accelerator key. You can handle a bar manager’s OnHandleKey event to prevent the bar manager from handling certain accelerator keys. For more information on accelerator keys, refer to this table entry in the Using the Keyboard topic.

See Also