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

HSS 10PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP
$149.99
HSS 10PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP pictureVintage Shindengen SY05020 Power Supply 5V 20A, pulled from DEC lab computer
$129.9
Vintage Shindengen SY05020 Power Supply 5V 20A, pulled from DEC lab computer pictureVintage Shindengen SY12005 Power Supply 12V 5A, pulled from DEC lab computer
$79.9
Vintage Shindengen SY12005 Power Supply 12V 5A, pulled from DEC lab computer pictureVintage PELOUZE Petite POSTAL SCALE Model P-1 Rates Effective Dec 31, 1975
$2.99
Vintage PELOUZE Petite POSTAL SCALE Model P-1 Rates Effective Dec 31, 1975 pictureDEC Vintage Rare Ic Purple Ceramic Cpu 750A 19-19004-00 3249-51 Collectible
$15.99
DEC Vintage Rare Ic  Purple Ceramic Cpu 750A 19-19004-00 3249-51 Collectible picture






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