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

Commodore Amiga Time Base Corrector VT-2000 TBC II Digital Processing (D9-5)
$250.0
Commodore Amiga Time Base Corrector VT-2000 TBC II Digital Processing  (D9-5) pictureCommodore Amiga Power Supply PA-4201-5A A2000 A2500 A3000 A4000 (D4)
$65.0
Commodore Amiga Power Supply PA-4201-5A     A2000 A2500 A3000 A4000       (D4) pictureCommodore Amiga Supraram 2000 4mb Expansion A2000 A2500 A3000 A4000 (D9-3)
$45.0
Commodore Amiga Supraram 2000 4mb Expansion A2000 A2500 A3000 A4000    (D9-3) pictureLot of 50 18.5" Wide Shire Commodore Fabric Church Chair with Gold Vein Frame
$2745.0
Lot of 50 18.58 x CM 8164 DRAM 64kx1 164 4864 IC Apple IIe Commodore 64 Oric IBM PC Soviet Era
$9.95
8 x CM 8164 DRAM 64kx1 164 4864 IC Apple IIe Commodore 64 Oric IBM PC Soviet Era picture






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