BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   General Legacy Device Discussion (http://www.blackberryforums.com/general-legacy-device-discussion/)
-   -   Highligt Focus (http://www.blackberryforums.com/general-legacy-device-discussion/71672-highligt-focus.html)

Rose 04-03-2007 07:59 AM

Highligt Focus
 
Hi,
VerticalFieldManager vm = new VerticalFieldManager(VerticalFieldManager.NO_HORI ZONTAL_SCROLL | VerticalFieldManager.NO_VERTICAL_SCROLL|VerticalF ieldManager.FIELD_LEFT);

label1 = new LabelField(" ",LabelField.FOCUSABLE);
label2 = new LabelField(" ",LabelField.NON_FOCUSABLE);
label3 = new LabelField(" ",LabelField.NON_FOCUSABLE);
BitmapField bmF = new BitmapField("Bitmap",BitmapField.NON_FOCUSABLE);

vm.add(label1);
vm.add(label2);
vm.add(bmF );
vm.add(label3);

On selecting (ie Focus)since only one labelField is focusable its only get highlighted.. But i wanna highlight all the items when that label get selected..
(ie) Instead of that one LabelField i wanna highlight
the entire verticalFieldManager itself..
But i cant find any successful way .. I tried overriding the nextFocus and drawFocus method also as mention in some other threads.. But still no use..
Can anyone experienced in this issue can help me .. Waiting for the suggestions.


All times are GMT -5. The time now is 09:30 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.