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 MAC TOOLS ET805 DWEEL TACH VOLT METER MAC TOOLS
$0.99
VINTAGE MAC TOOLS ET805 DWEEL TACH VOLT METER MAC TOOLS pictureVintage LA MAC PROCESS CO Shoe Makers Press
$175.0
Vintage LA MAC PROCESS CO Shoe Makers Press pictureMAC TOOLS FLUKE 88 METER TLK282 LEADS INDUCTIVE VINTAGE NOS KIT ET88DMM NEW USA
$499.99
MAC TOOLS FLUKE 88 METER TLK282 LEADS INDUCTIVE VINTAGE NOS KIT ET88DMM NEW USA  pictureVintage Mac Tools 1/2 Inch Drive Air Impact Wrench
$34.95
Vintage Mac Tools 1/2 Inch Drive Air Impact Wrench  pictureVintage Pozidrive Mac Tools Stubby Screwdriver #2 POZI 2 NEW PZD22A Black
$19.97
Vintage Pozidrive Mac Tools Stubby Screwdriver #2 POZI 2 NEW PZD22A Black picture






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