Creating a Sub Menu

  

DEVELOPER

Creating a Sub Menu

Follow these steps to create a sub menu for a drop down menu which is attached to the main menu bar. Sub menus can also be used with right click menus.

Note: There can be many levels of sub menu, for example a sub menu item can call another sub menu.

  1. Create a Control Bar with a type of Drop Down and check the Available to Menu Bar check box to ensure that drop down menu displays on the main menu. Click herehere to see an example screenshot.

  1. Create a Control Bar with a type of Drop Down  It is advisable to leave the Available to Menu Bar check box unchecked for the sake of clarity. Click herehere to see an example screenshot.

  2. Click Action Controls tab and add the sub menu items.

  3. Create an Action Control with a style of Drop Down. Click herehere to see an example screenshot.

Note: The default state of an Action Control is Visible and Enabled. If you want the sub menu to appear only in a function, deselect the Default State Visible and Enabled check boxes and overload the Action Control in the relevant function. See step 7 for more information.

  1. On the Actions tab on the Maintain Action Control window, select the sub menu created in step two in this procedure from the Control Bar Name list. Click here here to see an example screenshot.

  2. Open the Control Bar created in step one in this procedure and click the Action Controls tab, add the Action Control created in step 4 of this procedure. Click herehere to see an example screenshot.

  3. If you want to add the sub menu to a function, open the relevant function, and click the Control Bars overloaded in function maintenance Control Bars overloaded in function maintenance   icon on the main PROIV toolbar.

  4. Select the Control Bar and click the Properties . Overload the Action Control and set the Visible and Enabled check boxes. Click herehere to see an example screenshot.

  5. Execute the function and the drop down menu and associated sub menu display. Click herehere to see an example screenshot.

 

Comment on this topic

Topic ID: 500498