How to control the sequence of commands displayed in an instance list right click popup menu

Date:29th April 2009
Product/Release:Visual LANSA Framework
Abstract:To control the sequence of commands displayed in an instance list, right click, popup menu use the sequence property located in Framework -> Commands.
Submitted By:LANSA Technical Support

The question is often asked how to control the sequence of commands displayed in an instance list right click popup menu?

This is very simple to do and is displayed graphically below.

Note in the image below that the sequence in the dropdown is different to that of the command handler. This can be seen clearly when looking at the Notes command sequence. Often a user may want to make the sequence in the popup to be the same as the sequence shown in the command handler.

Note the order of the commands are different in the popup menu

As shown in image two, in order to change the sequence in the popup menu go to the menu item Framework -> Commands and alter the sequence number there.

This image shows how to change the sequence in the popup menu

What sequence controls what?

  • To change the sequence of commands displayed in the Command Handler area go to Business Object Properties -> Commands Enabled
  • To change the sequence of commands displayed in the popup go to Framework -> Commands and alter the sequence number there as described