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
Highlighted
Regular Contributor
Posts: 64
Registered: ‎02-03-2010
My Device: Bold
My Carrier: Orange

how to - send keydown to parent screen in stack

Hi, i have a main screen, and above that a popupscreen, which i push using Uiapplication.pushScreen.

 

I want my main screen to handle the key down presses, and not the popupscreen.

How can i do that? 

 

Thanks,

Dan. 

Developer
Posts: 516
Registered: ‎07-23-2010
My Device: 9900

Re: how to - send keydown to parent screen in stack

Your popup should have an instance or interface of the main screen.

When you override the keydown method in the popup screen call a main screen method.

Hope this helps.