OnMenu

   

The OnMenu event occurs when the user clicks on a menu item that is used outside of a mobile app (form). If one of the default actions is clicked, no code is required. For example, a button that brings up the RFgen Client Configuration menu.

This event is accessed from the Application Control Panel, Applications Script View, or the Solution Explorer > Scripting Modules: RFgen.bas. After RFgen.bas is selected, set the Object to "RFgen" and Proc to "OnMenu".

Group:   Events

Applies to:    RFgen (RFgen.bas), Application, and Prompt

Syntax:   OnMenu (sMenuAction)

sMenuAction           (String) is the Action name of the button clicked by the user.

Example:

Public Sub Form_OnMenu(MenuAction As String)

  On Error Resume Next

  MenuStrip.Show(False) ' hide the menu after a click

End Sub