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
Posts: 47
Registered: ‎06-06-2011
My Device: bolt2
My Carrier: digicel jamaica
Accepted Solution

Capture key events

Is there a way to cpture key events in webworks. I have been wanting to use the native delete key to delete items from my database when pressed.

Retired
Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: Capture key events

Please review the onHardwareKey event



1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)
Contributor
Posts: 47
Registered: ‎06-06-2011
My Device: bolt2
My Carrier: digicel jamaica

Re: Capture key events

This api gives me access to all the keys I dont need. There is no access to the delete key. Well its still good to know.

Highlighted
Retired
Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: Capture key events

Sorry leocrawf,

 

I don't know why, but in my head that API always did both hardware keys and keyboard buttons. Seems like you'll have to write a custom javascript extension



1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)