BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-03-2008, 09:02 AM   #1 (permalink)
itp
Knows Where the Search Button Is
 
Join Date: Jul 2008
Model: none
PIN: N/A
Carrier: none
Posts: 24
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default enhance fixed-width button class

Please Login to Remove!

I found a nice exmple for fixed width button class here
jonathanhfisher.co.uk/b2/?p=22

Can someone indicate how to add a listener event to this example?


just getting started

itp
Offline  
Old 08-04-2008, 04:33 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

buttons need the consume flag to consume clicks. extend the buttonfield with an added long argument. you can set a fieldchangelistener using setchangelistener then.
__________________
java developer, Devinto, hamburg/germany
Offline  




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