SYS(1500) - Activate a System Menu Item

Example   See Also

Activates a Visual FoxPro system menu item.

Syntax

SYS(1500, cSystemItemName, cMenuName)

Returns

Character

Arguments

cSystemItemName

Specifies the name of the Visual FoxPro system menu item to activate.

cMenuName

Specifies the name of the Visual FoxPro system menu or submenu containing the menu item.

Remarks

See System Menu Names for a list of Visual FoxPro menu and menu item names. You can also use SYS(2013) - System Menu Name String to display a list of Visual FoxPro menu and menu item names.

User-defined menu items and disabled system menu items cannot be activated with SYS(1500).

SYS(1500) returns the empty string.