BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 10-05-2009, 08:48 AM   #1 (permalink)
New Member
Join Date: Oct 2009
Model: 9000
Carrier: AT&T
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default A question about VerticalFieldManager

Please Login to Remove!

Hello ,i have a question about VerticalFieldManager in BB.

I use following codes in my mian screen.

VerticalFieldManager mainManaer = new VerticalFieldManager(VERTICAL_SCROLL|VERTICAL_SCRO LLBAR);
for(int i =0;i < 30;i++){
mainManaer.add(new LabelField("test www :" + i));

When running this app ,when i press down key ,i can not move it down.

but if i use ButtonField instead of LabelField ,when i press down key ,i can see current selection is bordered with a blue rect and it can be moved down.

For now ,i will use LabelField and BitmapField and i need moving down function ,so anyone can help me that how can i implement it just like when i use ButtonField.

Thanks a lot!
Old 10-05-2009, 11:46 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

LabelField is not focusable by default.

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