开发者

Set ImageItem in midp form UNFOCUSABLE

开发者 https://www.devze.com 2023-03-13 02:21 出处:网络
I have a midp form where I am adding ImageItem\'s and StringItem\'s I want to be able to开发者_如何转开发 select the StringItem\'s only. When I click or scroll in the form I don\'t want the images to

I have a midp form where I am adding ImageItem's and StringItem's

I want to be able to开发者_如何转开发 select the StringItem's only. When I click or scroll in the form I don't want the images to be selectable.


Generally, the answer is no - MIDP 2 does not provide API to force form items to be unfocusable. If you badly need a greater control, consider using canvas instead of form - although in that case you will probably have to write a lot of code for things that are granted in form.

If you're targeting particular phone model(s) you may check device-specific (non-MIDP) API for features like that - though in this case your MIDlet may not work on other devices

0

精彩评论

暂无评论...
验证码 换一张
取 消