InvokeAppletMenuItem

You use the InvokeAppletMenuItem keyword to call a menu item from an applet-level menu in a list or form.

Signature

The InvokeAppletMenuItem keyword supports the following signature:

InvokeAppletMenuItem(AppletRN|RN of Menu Item,(RN of Closing Action/NULL))

Note the following about the InvokeAppletMenuItem keyword signature:

  • The Confirmation dialog box does not close after you delete a record.

  • The VerifyError keyword must be used after the deletion of any record.

Desktop Examples

The following table describes how to use the InvokeAppletMenuItem keyword to call a menu item from an applet-level menu in a list or form in desktop applications.

Target Object Inputs Closing Action Comments

SIS Account List Applet|New Record (SWE)

N/A

NULL

Invokes the New Record applet menu item with no action in the pop-up window that appears.

SIS Account List Applet|Delete Record (SWE)

N/A

NULL

Invokes the Delete Record applet menu item with no action in the pop-up window that appears.

SIS Account List Applet|Record Count (SWE)

N/A

CloseApplet

Invokes the Record Count applet menu item where users must click on OK in the pop-up window that appears.

SIS Account List Applet|About Record (SWE)

N/A

CloseButton

Invokes the About Record applet menu item where users must click on OK in the pop-up window that appears.

Mobile Examples

The following table describes how to use the InvokeAppletMenuItem keyword to call a menu item from an applet-level menu in a list or form in mobile applications (on mobile devices).

Target Object Inputs Closing Action Comments

SHCE Sales Account List Applet - Mobile|Record Count (SWE)

N/A

CloseApplet

Invokes the Record Count applet menu item where users must click OK in the pop-up window that appears.

SHCE Sales Account List Applet - Mobile|Get Bookmark URL (SWE)

N/A

CloseApplet

Invokes the Get Bookmark URL applet menu item where users must click OK in the pop-up window that appears.