BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-10-2010, 06:53 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2008
Model: 9000
PIN: N/A
Carrier: rogers
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default ListField how to make an element non selectable

Please Login to Remove!

I have a ListField in a Manager

I want to have some items in the list so that when the user scrolls up or down it skips them and doesn't make them selectable.

Does anyone have a good way of doing this?
I've tried almost everything but it is probably right under my nose.

I tried making the ListField NON_FOCUSABLE but that didn't do it.
I'm now trying the navigationMovement dy to see if I can alter it myself.

Hope someone can help.
Thanks
Offline  
Old 03-11-2010, 06:11 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2010
Model: N/A
PIN: N/A
Carrier: Fledge
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

ronaldg,

For any class that extends Field you can override the isFocusable() method.

Code:
ListField list = new ListField() {
    public boolean isFocusable() { return false; }
};
Offline  
Old 03-12-2010, 07:30 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2008
Model: 9000
PIN: N/A
Carrier: rogers
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks very much
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

New H2S gas monitor 24 months Top Quality MSA Altair
$49.99
New  H2S gas monitor 24 months Top Quality MSA Altair pictureMSA 10076733 ALTAIR PRO Single Gas Detector, Remote, Oxygen (O2-R)
$29.99
MSA 10076733 ALTAIR PRO Single Gas Detector, Remote, Oxygen (O2-R) pictureMSA Altair Single-Gas Detector
$100.0
MSA Altair Single-Gas Detector pictureMSA ALTAIR 4X 4 X Multi Gas Monitor Detector, O2, H2S, CO, Pentane LEL
$425.0
MSA ALTAIR 4X 4 X Multi Gas Monitor Detector, O2, H2S, CO, Pentane LEL pictureMSA Altair 0-100 PPM LCD Hydrogen Sulfide H2S Single-gas Detector 10092521
$24.95
MSA Altair  0-100 PPM LCD Hydrogen Sulfide H2S Single-gas Detector 10092521 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.