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

VINTAGE 1969 NOS RARE TEXAS INSTRUMENTS GOLD FLAT PACK IC PROCESSOR CHIP SN7400F
$6.99
VINTAGE 1969 NOS RARE TEXAS INSTRUMENTS GOLD FLAT PACK IC PROCESSOR CHIP SN7400F pictureNew in box Mitsubishi CPU Unit A2USCPU A2USCPU
$150.99
New in box Mitsubishi CPU Unit A2USCPU A2USCPU pictureMitsubishi CPU Unit Q2ASCPU-S1 PLC Module Meter Transducer Transmitter
$299.99
Mitsubishi CPU Unit Q2ASCPU-S1  PLC  Module  Meter Transducer Transmitter     pictureFoxboro I/A Series Communications Processor 15 USA
$399.99
Foxboro I/A Series Communications Processor 15  USA  pictureVINTAGE 69 NOS RARE TEXAS INSTRUMENTS GOLD FLAT PACK IC PROCESSOR CHIP SN7450F
$6.99
VINTAGE 69 NOS RARE TEXAS INSTRUMENTS GOLD FLAT PACK IC PROCESSOR CHIP SN7450F picture






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