BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 03-16-2010, 02:18 AM   #1 (permalink)
New Member
 
Join Date: Feb 2010
Model: Storm
PIN: N/A
Carrier: AT&T
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Navigation Click and Check Boxes

Please Login to Remove!

Hi..

I am trying to add Checkbox to a ListField and at the same time using the navigation click to click on the list. But the problem is when i click on the check box the navigational event occurs. I want when i click on the checkbox only checkbox is selected and no navigational event should occur and when i click on the rest of the row the navigational event should occur.. is this possible ?? If yes how ?? Please help..
Offline  
Old 03-16-2010, 02:50 AM   #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

Override navigationClick(int status, int time) in your checkbox and return true to consume the click.

Code:
protected boolean navigationClick(int status, int time) {
    super.navigationClick(status, time);
    return true;
}
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

PHILIPS ADVANCE Electronic Ballast, 3 T8 Lamps,120/277V, IOP-3PSP32-SC, 32 Watts
$94.99
PHILIPS ADVANCE Electronic Ballast, 3 T8 Lamps,120/277V, IOP-3PSP32-SC, 32 Watts pictureLutron Hi-Lume H3DT832GU210 Fluorescent Dimmable Dimming Ballast (2) F32T8 Lamps
$70.99
Lutron Hi-Lume H3DT832GU210 Fluorescent Dimmable Dimming Ballast (2) F32T8 Lamps pictureGE Ultramax G Series T8 ELECTRONIC BALLAST GE232MAX-G-N, # 72275
$16.25
GE Ultramax G Series T8 ELECTRONIC BALLAST GE232MAX-G-N, # 72275 pictureHoward Lighting EP2/75IS/MV/SC 75W 2 Lamp F96T12 Electronic Fluorescent Ballast
$41.15
Howard Lighting EP2/75IS/MV/SC 75W 2 Lamp F96T12 Electronic Fluorescent Ballast pictureF96 T12 2 Lamp Ballast
$14.99
F96 T12 2 Lamp Ballast picture






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