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 Developer
ebegoli
Posts: 5
Registered: ‎08-08-2009
My Device: Blackberry Bold 9000
Accepted Solution

How to disable this default dialog on 9530 "Storm" simulator

Hi,

 

I am programming with SDK 4.7 and I am developing application that

is currently using Storm simulator.

 

When I click on the button and open the new screen I get this dialog box every time:

 

 Menu

 

How do I disable this dialog?

 

Thank you in advance. 

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: How to disable this default dialog on 9530 "Storm" simulator

You are not consuming the navigation Click.

 

If it is a ButtonField causing the issue, you can rectify by specifying the CONSUME_CLICK style in your constructor.

 

For other fields types, the issue varies. Are you overriding navigationClick() ?  If so, make sure you are returning 'true' when you consume a click event.  Otherwise, the system will pick up the event qand perform the default action, which is this menu.

 

 

 

Please use plain text.
Developer
Blanc
Posts: 638
Registered: ‎07-02-2009
My Device: Not Specified

Re: How to disable this default dialog on 9530 "Storm" simulator

Hi RexDoug,

 

I overwritten the navigationClickl() and return true to disable the system menu. but it is not working for me. any more suggestions??

 

I used MainScreen.NO_SYSTEM_MENUITEMS as a paremeter to the constructor, so am not getting only FullMenu option in the popup. can you suggest me how to fix this...?

Thanks and Regards,
PraveenGoparaju.
Please use plain text.