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

IBM Wheelwriter Easystrike® Correctable Ribbons 1380999 & Lift Off Cassettes OEM
$55.0
IBM Wheelwriter Easystrike® Correctable Ribbons 1380999 & Lift Off Cassettes OEM pictureOEM IBM 674X Wheelwriter 3 Replacement Part: 1379740 Keyboard
$24.99
OEM IBM 674X Wheelwriter 3 Replacement Part: 1379740 Keyboard pictureOEM BULB with Housing for IBM SP-LAMP-006 Projector with 180 Day Warranty
$130.16
OEM BULB with Housing for IBM SP-LAMP-006 Projector with 180 Day Warranty pictureOEM BULB with Housing for IBM iLC300 Projector with 180 Day Warranty
$130.16
OEM BULB with Housing for IBM iLC300 Projector with 180 Day Warranty pictureNEW IBM Wheelwriter Easystrike Correctable Ribbon 1380999 & Lift Off 1337765 OEM
$37.99
NEW IBM Wheelwriter Easystrike Correctable Ribbon 1380999 & Lift Off 1337765 OEM picture






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