Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® World™ Development

Reply
Developer
swati-srivastava
Posts: 282
Registered: ‎02-25-2010
My Device: curve,bold,storm
My Carrier: Verizon,AT&T
Accepted Solution

Issue with focus index in the storm

i m working on storm 9530


in a screen there are 3 managers as h1,h2,h3


h3 holds h1 nad h2 and some focussable label fileds and custom button fields


when i try to use h3.getFieldwithFocusIndex()

it always returns value for components of manager h1....and no other


i cannot get the indexes of the fields of the manager h2 or index of other fields in h3

 

Kindly help!!!!!!!

Please use plain text.
Developer
swati-srivastava
Posts: 282
Registered: ‎02-25-2010
My Device: curve,bold,storm
My Carrier: Verizon,AT&T

Re: Issue with focus index in the storm

 

class Scr extends MainScreen {
    BitmapField mBitmapField;

    protected boolean navigationClick(int status, int time) {
        int index = -1;
        Manager manager = mBitmapField.getManager();
        if (manager != null) {
             index = manager.getFieldWithFocusIndex();
        }
        return true;
    }
}

 

 

Please use plain text.