Skip to main content

non focusable Picture box?

3 replies [Last post]
dishanf
Offline
Joined: 2005-10-24

Hi experts,
I hv a Picture box (j4me) on my dialog screen and want to get rid of focusing to that control.

How can I place non focusable picture control on my device screen and want to focus on some other control.?

Thanks in advance
Dishan

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sfitzjava
Offline
Joined: 2003-06-15

There isn't really a way in J2me to control the ordering for basic LCDUI item. For CustomItems, and I believe LWUIT there is ways of setting that up.

However you might try the insert command on the form. I can't remember if it is the order the item is added to the form, or if it is the position in the list that triggers what gets focus first.

I've always either wrote my own z-order traversal system with customitem and the canvas, or used a 3rd party toolkit that supported it.

-Shawn

dishanf
Offline
Joined: 2005-10-24

Is there any way to set focus on some other control by default?

dishanf
Offline
Joined: 2005-10-24