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
Posts: 27
Registered: ‎07-27-2011
My Device: curve
My Carrier: vodafone
Accepted Solution

On touching the screen , on storm device, the Menu populate automatically and that too in center of the screen

hello,

 

so, i have designed a screen with have a verticle manager, which hold two verticle managers added into that. the screen is some sort of such layout, so the problem is what, when that screen occurs, very ofenly when we touch the screen, the menu pop up automatically n that too in the middle of the screen. why is it so  can anybody help me out of it!!

 

thanks

Highlighted
Super Contributor
Posts: 278
Registered: ‎11-04-2010
My Device: 4.5 and above
My Carrier: none

Re: On touching the screen , on storm device, the Menu populate automatically and that too in center of the screen

Hi,
just override navigationClick to return true.
protected boolean navigationClick(int status, int time) {
return true;
}
or
protected boolean touchEvent( TouchEvent event ) {
int eventCode = event.getEvent();
if ( eventCode == TouchEvent.CLICK ) {
return true;
}
}

Thanks & Regards
pp
New Developer
Posts: 27
Registered: ‎07-27-2011
My Device: curve
My Carrier: vodafone

Re: On touching the screen , on storm device, the Menu populate automatically and that too in center of the screen

thankyou,