Skip to main content
Question

APPS10 Menu Item

  • November 27, 2025
  • 1 reply
  • 27 views

Forum|alt.badge.img+5

Hi, I’m very new to IFS Apps 10 client development. I recently had a question about how to add an RMB option to an overview window so that, when clicked, it opens/navigates to another window. Could someone guide me on how to implement this? 

Appreciate any ideas or resources

1 reply

Indika99
Hero (Employee)
Forum|alt.badge.img+5
  • Hero (Employee)
  • November 28, 2025

Hi ​@Nethmi98

Steps to Add a Context Menu Item (RMB Option)

Source: How To - Add a context menu item

  1. Open the Customized Form in Designer Mode

    • For example, open tbwCustomerInfoOverview_Cust in Designer mode.
  2. Create a New Command

    • In the Available Commands panel, create a command (e.g., cmdShow) and set its Caption (e.g., Show).
    • Click Events, then double-click the Execute attribute to generate an event handler (e.g., cmdShow_Execute).
  3. Add Logic to Event Handler

    • Inside the handler, write code to perform the desired action (e.g., navigate to another window or show a message):
      private void cmdShow_Execute(object sender, Fnd.Windows.Forms.FndCommandExecuteEventArgs e)

      {

      e.Handled = true;

      // Example: Show a message

      FndMessageBox.Show("Started cmd_Execute!", "My Customization");

      // Or implement navigation logic here

      }

       

  4. Create a New Context Menu

    • In the Action Tree panel, add a new context menu under Context menus folder (e.g., menuTbwMethods_Cust).
    • Add a menu item (e.g., menuItem_Show) and connect it to the command you created (cmdShow).
  5. Run and Test

    • Open the customized window in IEE.
    • RMB-click on the table window → your new menu item should appear at the bottom of the context menu.

Important Notes

  • Customized menu items are appended to existing context menus by creating a new context menu with the same name as the original plus the layer name (e.g., menuFrmMethods_Cust).
  • If you need to reposition menu items, override OnRearrangeMergedMenuItems and use methods like:
    contextMenu.MoveItemAfter(this.menuItemCustom2, this.menuItemValid);

    This allows you to move items before/after specific existing items.

Hope this helpful.