Hello,

6600 and S60 2.0 MIDP emulator seems to have different approach how item commands are placed to options menu. Former places them to the bottom of the options menu list and latter to the top of that particular list (when some item with commands associated to it is focused).

I.e. if one has following form (might contain errors...this is not taken from any real application...lets say it is represented in pseudo code):

<code>
Form form = new Form("Label");

StringItem s1 = new StringItem("Label", "Text", Item.HYPERLINK);

s1.addCommand(new Command("Open", Command.ITEM, 0));
s1.addCommand(new Command("Something", Command.ITEM, 1));

form.append(s1);

form.addCommand(new Command("Exit", Command.EXIT, 10);
form.addCommand(new Command("Whatever", Command.SCREEN, 9);
</code>

In the emulator options menu looks like this (when stringitem is focused):

Open
Something
Whatever
Exit

In the 6600 menu looks like this:

Whatever
------------ (<--- separator)
Open
Something
Exit

This is quite annoying if there happens to be quite a few commands associated with the screen (form).

IMHO emulator's option menu "layout" strategy is better since commands that are related to the current item (current context) are available "faster".

Is there any known workaround to this or am I doing something wrong here?