BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-31-2008, 05:09 AM   #1 (permalink)
New Member
 
Join Date: Aug 2008
Model: 8800
PIN: N/A
Carrier: AT&T
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question How to operate a ButtonField by 8700's trackwheel

Please Login to Remove!

by default a CheckboxField and a RadioButtonField are checked or unchecked with the trackball of 8300+

I want to do it with the trackwheel of 8700, or use the space key to checked or unchecked

If anybody knows how to do that, plz post it..

thank u verrrrrrrry much

My code:
RadioButtonGroup rbg = new RadioButtonGroup();
for (int j = 0; j < userVector.size(); j++) {
RadioButtonField r = new RadioButtonField(
((user) userVector.elementAt(j)).name);
}

Last edited by wackerwe : 10-31-2008 at 05:11 AM. Reason: add code
Offline  
Old 11-02-2008, 07:49 PM   #2 (permalink)
New Member
 
Join Date: Aug 2008
Model: 8800
PIN: N/A
Carrier: AT&T
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

anybody help?
Offline  
Old 11-03-2008, 12:56 AM   #3 (permalink)
New Member
 
Join Date: Aug 2008
Model: 8800
PIN: N/A
Carrier: AT&T
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Talking It's ok

RadioButtonGroup rbg = new RadioButtonGroup();
for (int j = 0; j < userVector.size(); j++) {
RadioButtonField r = new RadioButtonField(
((user) userVector.elementAt(j)).name) {
protected boolean trackwheelClick(int status, int time) {
this.setSelected(true);
return true;
}
};
}

Last edited by wackerwe : 11-03-2008 at 01:02 AM.
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





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