BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 01-27-2011, 03:38 PM   #1 (permalink)
New Member
 
Join Date: Jan 2011
Model: 8900
PIN: N/A
Carrier: i dont know
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Onmenu function problem

Please Login to Remove!

Hello every one,

I want to discuss one thing if anyone have idea so please suggest me.
I have one problem in Action menu in my application.I am not able to set height of action menu by which my last menu item is not coming in full it coming half
I have use setorizon method but it is not helpful for me. I have used this code
public boolean onMenu(int instance)
{
if(menuflag){
Menu newMenu = this.getMenu(0);
Field f = getLeafFieldWithFocus();
if(f != null) {
ContextMenu cm = f.getContextMenu();
if(cm != null)
newMenu.add(cm, true);
}

makeMenu(newMenu, instance);
newMenu.setOrigin(-2, Display.getHeight()-10);
newMenu.addSeparator();
newMenu.show();
return super.onMenu(instance);
}else
{
return true;
}
//return true;

}

if anyone have idea so please suggest me
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Onmenu function problem
Thread Thread Starter Forum Replies Last Post
Error Compiling Desktop USBSample robertmills Developer Forum 2 02-15-2010 03:35 PM
BB Alerts problem crucifixion Aftermarket Software 0 01-15-2008 02:57 PM
nXTL problem on 7520 CyBeRcR0W General BlackBerry Discussion 1 08-18-2006 08:23 PM
Fixing the No Ringer/Speaker Problem kaneguy General Legacy Device Discussion 0 08-16-2006 07:27 AM
BES problem or Exchange 2000 problem? Smits General BlackBerry Discussion 5 08-12-2006 11:21 AM

STAINLESS TACO SHELL SERVER HOLDER MAKE-UP RACK 2 to 3 SOFT OR HARD TACOS SHELLS
$4.99
STAINLESS TACO SHELL SERVER HOLDER MAKE-UP RACK 2 to 3 SOFT OR HARD TACOS SHELLS pictureUSR-TCP232-304 Serial RS485 to TCP/IP Ethernet Server Converter Module Webpage
$27.82
USR-TCP232-304 Serial RS485 to TCP/IP Ethernet Server Converter Module Webpage pictureUSR-TCP232-302 Serial RS232 to Ethernet TCP IP Server Module Ethernet Converter
$26.31
USR-TCP232-302 Serial RS232 to Ethernet TCP IP Server Module Ethernet Converter pictureAmerican Express Double Panel Restaurant Bill Check Presenter/Holder Server Book
$3.0
American Express Double Panel Restaurant Bill Check Presenter/Holder Server Book pictureARTESYN Sun Microsystems SERVER POWER SUPPLY P/N 22943300 0025838-9839206911
$63.99
ARTESYN Sun Microsystems SERVER POWER SUPPLY P/N 22943300 0025838-9839206911 picture






Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.