EnableMenuItem
Mon 01 January 2018Syntax
EnableMenuItem(BARNAME.menubar_name, ITEMNAME.menuitem_name)
Description
Use the EnableMenuItem function to enable (make available for selection) the specified menu item. To apply this function to a pop-up menu, use the PrePopup Event of the field with which the pop-up menu is associated.
If youâre using this function with a pop-up menu associated with a page (not a field), the earliest event you can use is the PrePopup event for the first "real" field on the page (that is, the first field listed in the Order view of the page in Application Designer.)
Parameters
Field or Control |
Definition |
---|---|
menubar_name |
Name of the menu bar that owns the menu item, or, in the case of pop-up menus, the name of the pop-up menu that owns the menu item. |
menuitem_name |
Name of the menu item. |
Returns
None.