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
Developer
Posts: 166
Registered: ‎01-14-2009
My Device: Curve 8330

ApplicationMenuItem position

Hello,

I want to put a new menu item to the calendar view just above the default "New" item. Is this possible? I tried to play with the order, but I can't make my item go down in the list.

Thank you, have a nice day.

--
Samuel D.
Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: ApplicationMenuItem position

What ordinal values did you try?

 

It has to be fairly large to move down the list.

 

 

 

 

Developer
Posts: 166
Registered: ‎01-14-2009
My Device: Curve 8330

Re: ApplicationMenuItem position

Ok I'm now able to put it down in the list, but is there a way to know what is the ordinal value of the "New" item so I can set mine just a little bit lower?

Thank you, have a nice day.

--
Samuel D.
Developer
Posts: 246
Registered: ‎09-30-2010
My Device: Z10, Onyx2
My Carrier: IND XL

Re: ApplicationMenuItem position

how many value i have to put?
0 is the top
so for bottom?
or center?
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: ApplicationMenuItem position

It depends on what else is in the list. 

 

By debugging you could probably figure out what the other menu items ordinals were but I have never seen a published list. 

Highlighted
Developer
Posts: 246
Registered: ‎09-30-2010
My Device: Z10, Onyx2
My Carrier: IND XL

Re: ApplicationMenuItem position

tested it
0 for top
270000000 for bottom

and it will not combine with default menu item

adding new applicationmenuitem will make 1 space for it with separator