SetMenuItemAccelerator method

Applies to

Description

Assigns a new accelerator to the command.

Syntax

Object.SetMenuItemAccelerator (MenuCmdNo, Accelerator)

Part

Data type

Description

Object

Object

An object expression that evaluates to an object in the Applies To list.

MenuCmdNo

Long

Could be any of your user-defined commands or one of the standard commands. See the list of user-defined menu constants and the list of menus for each FORMS module: Manager, Scan, Interpret, Verify, and Transfer.

Accelerator

String

Apply a useful shortcut as the accelerator. See the list of predefined accelerator keys.

Return value

None.

Remarks

Classic method

XxxxSetMenuItemAcc