Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
ibarrera
Posts: 588
Registered: ‎05-29-2009
My Device: 9100

Re: How to inject Click Event into a ObjectChoiceField

I am trying the same here...
Developer
ibarrera
Posts: 588
Registered: ‎05-29-2009
My Device: 9100

Re: How to inject Click Event into a ObjectChoiceField

I tried something like
field.setFocus();
EventInjector.invokeEvent( new EventInjector.TrackwheelEvent( EventInjector.TrackwheelEvent.THUMB_CLICK , 1, 1 ));

but only a contextmenu is launched... and nothing to do with the objectchoicefield...