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

Posts: 26
Registered: ‎10-29-2009
My Device: Not Specified

Menu Placement

I am trying to control where the menu appears on the display for those devices that support the Menu.setOrigin(x,y) function.  My problem is that I can't figure out how to get the extents of the menu after I have added menuItems to it.  Can someone point me to the function that tells me the menu dimensions?


In playing with the feature, it appears that for some devices, the display origin is the upper left, . . . Let me rephrase this question.  Do all BB devices have its origin (0,0) at the upper left?



Posts: 207
Registered: ‎07-31-2009
My Device: Not Specified

Re: Menu Placement

[ Edited ]

Its pretty trivial..But if i am not wrong , i believe its not just for Blackberrys, but for most displays or screens or whatever the convention is Upper left(0,0)

Click the Kudos! badge on left side of the message , if you are happy with a solution given by a user. When you do so, you are saying thanks to its author.
Mark a reply as a solution , if you think your question has been answered.
To mark a message as a solution: Click "Accept as solution" icon on the reply.