Hi,

I'm Using latest Series 60 emulatorand SDK (S60 2nd FP2 MIDP SDK).

I have a form with several textfields.
I have associated an item command for _one_ textfield but
the implementation displays the command regardless of which textfield is selected.

I only want to dislay those command when the chosen textfield has focus.

Any workarounds please ?


this.cmdDatabaseLookup = new Command(ContentProvider.getInstance().get("gui.stop.command.dblookup"), Command.ITEM, 1);

this.tfStopCode.addCommand(this.cmdDatabaseLookup);
this.tfStopCode.setDefaultCommand(this.cmdDatabaseLookup);

this.tfStopCode.setItemCommandListener(this);