BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-19-2008, 08:42 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2008
Model: 7100T
PIN: N/A
Carrier: do not know
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default list element

Please Login to Remove!

Hi, I am working on List. I have writen code to remove one element from the list and its working fine.

Before removing the element. e.g I have a list of Feeds which consists of elements Feed 1, Feed 2, Feed 3. It is displaying on the screen as following. Before deleting the element there must be option to select one element that user want to delete.

My problem is that how can I hightlight that user selected element for deletion.

Feeds

Feed 1
Feed 2
Feed 3

Thanks
Offline  
Old 05-19-2008, 09:10 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

(object)listfield should be able to manage this
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 05-19-2008, 09:18 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2008
Model: 7100T
PIN: N/A
Carrier: do not know
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by simon.hain View Post
(object)listfield should be able to manage this
Can you send me please simple example.

Thanks
Offline  
Old 05-19-2008, 09:57 AM   #4 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

actually i can't because i wrote my own version of it. it's not very hard to handle, though.

take a look at
net.rim.device.api.ui.component.ObjectListField
create it, put your choices into an object[] and use set.
if you want to delete objects on click overwrite navigationclick and call delete on the selected index.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 05-20-2008, 05:17 AM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2008
Model: 7100T
PIN: N/A
Carrier: do not know
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please help with sample.

Thanks
Offline  
Old 05-20-2008, 06:03 AM   #6 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

if you need a developer feel free to ask in the forum, there are quite a few freelancer developer regulars.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 05-20-2008, 06:17 AM   #7 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2008
Model: 7100T
PIN: N/A
Carrier: do not know
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, I just wanted to save my time. Ok no problem I will develop sample by myself.

Best regards,
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

PLE 40Mhz Crystal Oscillator 40.000000 Mhz Half Can NEW Amiga Apple PC
$2.75
PLE 40Mhz Crystal Oscillator 40.000000 Mhz Half Can NEW Amiga Apple PC pictureNEW Motorola MC68030RC40B 40Mhz PGA 128 Pin Gold Amiga Apple CPU MMU Processor
$37.95
NEW Motorola MC68030RC40B 40Mhz PGA 128 Pin Gold Amiga Apple CPU MMU Processor pictureRARE Western Digital WD33C93A-PL Proto SCSI IC NEW Leftover for Amiga 3000 Etc
$64.95
RARE Western Digital WD33C93A-PL Proto SCSI IC NEW Leftover for Amiga 3000 Etc pictureSaronix 33Mhz Crystal Oscillator 33.3000 Mhz Half Can NEW Amiga Apple PC NOS
$2.75
Saronix 33Mhz Crystal Oscillator 33.3000 Mhz Half Can NEW Amiga Apple PC NOS pictureATL HDI 1000 PCB ASSY, Amiga Mboard 7500-1318-01 c A4000t
$784.0
ATL HDI 1000 PCB ASSY, Amiga Mboard 7500-1318-01 c A4000t picture






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