Prompt Property (AMenu)

Returns or sets a string that will display on the status bar when the menu item is selected.

Syntax

Object.Prompt [ = sPrompt ]

The Prompt property syntax has the following parts:

 

Name

Type

Description

Object

AMenu

AMenu object

sPrompt

BString

A string specifying a string that will display on the status bar when the menu item is selected.

Example

The following statement sets the AMenu's prompt:

mnu1.Prompt = "Use this to set the switch values."

Applies to

AMenu

See Also