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
Contributor
faizandedia
Posts: 19
Registered: ‎02-14-2013
My Device: 9360
My Carrier: du

Focus Navigation Not working

I am trying to use the focus base navigation. I am testing the build on device but it seems I can't get it works, please help... I dont want to use cursor in my application, here is my code.

 

Config.xml

<rim:navigation mode="focus"/>

 

Html code:

<input id="button1" type="button" onclick="action()" class="buttontest" x-blackberry-focusable="true"

x-blackberry-onUp="moveTo()" x-blackberry-onDown="moveTo()" 

x-blackberry-initialFocus="true"/>

 

Javascript code:

function moveTo() {

blackberry.focus.setFocus('button1');

}

 

any help?

 

Please use plain text.
Contributor
faizandedia
Posts: 19
Registered: ‎02-14-2013
My Device: 9360
My Carrier: du

Re: Focus Navigation Not working

there was issue somewhere in my config.xml .. now its working.. thanx.. :smileyhappy:

Please use plain text.