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

Java Development

Reply
New Contributor
danzoye
Posts: 4
Registered: ‎04-08-2010
My Device: 8900
My Carrier: Indosat

Spacebar shortcut enabled on browserfield

Hi..

most of blackberry application has common shortcut like T, B, Space, etc

 

i develop an application that using browserfield (not browserfield2, OS supported minimal OS 43) and i want to enabled that Space shortcut feature..

browserfield class i used is like the BrowserFieldDemo sample..

 

any advice how to do this??

 

i think i'll use method Manager.moveFocus(int x, int y, int status, int time)

but i confuse how to get the focus current position on the browserField.

 

or anyone have another idea how to enabled spacebar shortcut on browserField?

please reply..preety urgent..hehehe..

 

 

Danz Oye

 

 

 

 

 

 

Please use plain text.
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Spacebar shortcut enabled on browserfield

There is a sample of this here:

 

Sample Code - Programmatically scroll a browser field

http://supportforums.blackberry.com/t5/Java-Development/Sample-Code-Programmatically-scroll-a-browse...:3

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.