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

Web and WebWorks Development

Reply
Trusted Contributor
Posts: 227
Registered: ‎09-03-2010
My Device: Not Specified
Accepted Solution

focus order

How could specify the focus order of the elements ?

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: focus order

The focus order is defined by how the elements are laid out on an X/Y grid of the page.  So scrolling left, right, up, down will calculate where to move next.

 

If you wish to override this default order, you can do so by overriding the x-blackbery-onDown etc.  I've also noticed that a bunch of the information around focus navigation has been removed when we updated our jsdocs.  I'll make sure someone updates them to put back all that valuable information

 

http://www.blackberry.com/developers/docs/webworks/api/blackberry.focus.html

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter