BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-07-2008, 06:14 PM   #1 (permalink)
New Member
 
Join Date: Oct 2006
Location: Ukraine
Model: none
Carrier: UMC
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Does someone have a variable-height ListField?

Please Login to Remove!

Not "true" variable height.
I just need it to behave this way: rows go in groups. Focus should move by groups, not by lines, and all the lines of current group should be drawn selected.

I tried to override moveFocus(int amount, int status, int time), but failed for now. Maybe someone just has the code to share?
Thanks.

It would be great if it supported multiselection.
Offline  
Old 08-08-2008, 04:22 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

i would suggest you put your groups into single objects and adjust the drawing behaviour accordingly.

for example you can make an object containing three other objects.
set the height of the listfield to three times the normal height and edit the drawlistrow callback according to your wishes, for example drawtext(object1.getattribute()) at y, drawtext(object2.getattribute()) at y+5 etc
__________________
java developer, Devinto, hamburg/germany
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

Jewelry Monster Pack of 12 " Assorted Mix Stars Birthstone Crystal " for Charm
$6.93
Jewelry Monster Pack of 12 Apache 300 Pack of 5 Mil Letter Size (9 x 11.5") Crystal Clear Universal Ther...
$28.15
Apache 300 Pack of 5 Mil Letter Size (9 x 11.5APPRX 200PC FULL SIZE CRYSTAL OSCILLATOR 4.9152NHZ LOT
$9.95
APPRX 200PC FULL SIZE CRYSTAL OSCILLATOR 4.9152NHZ LOT picture*NEW* Crystal Clear Scotch Shipping Packaging Tape 6 Rolls w/ Dispensers Heavy D
$11.21
*NEW* Crystal Clear Scotch Shipping Packaging Tape 6 Rolls w/ Dispensers Heavy D pictureClear Plastic Bag Polyethylene Bags Crystal Clear Flat 1 Mil for Food Contact,
$19.3
Clear Plastic Bag Polyethylene Bags Crystal Clear Flat 1 Mil for Food Contact, picture






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