Platform SDK: Agent

Caption Property

Description
Determines the text displayed for the Commands object in the character's pop-up menu.
Syntax
agent.Characters ("CharacterID").Commands.Caption [ = string]
Part Description
string A string expression that evaluates to the text displayed as the caption.

Remarks

Setting the Caption property for your Commands collection defines how it will appear on the character's pop-up menu when its Visible property is set to True and your application is not the input-active client. To specify an access key (unlined mnemonic) for your Caption, include an ampersand (&) character before that character.

If you define commands for a Commands collection that has a Caption, you typically also define a Caption for its associated Commands collection.