Thread: Highligt Focus
View Single Post
Old 04-03-2007, 08:59 AM   #1 (permalink)
Rose
Thumbs Must Hurt
 
Rose's Avatar
 
Join Date: Nov 2006
Location: India
Model: 9700
OS: Windows 7
Carrier: Airtel
Posts: 121
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Highligt Focus

Please Login to Remove!

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.
Offline