BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 05-17-2007, 01:13 PM   #1 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Multiple Menu Seperators

Please Login to Remove!

Is there a way to add multiple seperators to a menu? The add seperator method afaik just pushes one to the bottom, not by priority or anything.
Offline  
Old 05-18-2007, 02:54 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

the menu seperators use an ordinal integer to dictate where in the list they should appear:

menu.add(MenuItem.separator(1));//top seperator

menu.add(MenuItem.separator(5));//middle seperator

menu.add(MenuItem.separator(10));//bottom seperator
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Old 05-18-2007, 10:12 AM   #3 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks jfischer, totally glossed over this in the api.
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

AMD FX-4100 3.60GHz Quad-Core Socket CPU Processor AM3+
$35.0
AMD FX-4100 3.60GHz Quad-Core Socket CPU Processor AM3+ pictureALLEN BRADLEY 1756-L63 96447874A01 CAT REV D01 FW REV 1.8 LOGIX 5563 PROCESSOR
$249.99
ALLEN BRADLEY 1756-L63 96447874A01  CAT REV D01 FW REV 1.8 LOGIX 5563 PROCESSOR pictureHewlett Packard Viridia Telemetry M2604A System Processor
$46.5
Hewlett Packard Viridia Telemetry M2604A System Processor pictureOmron CS1W-PDC11 PLC Processor Unit Programmable Controller Nib
$427.99
Omron CS1W-PDC11 PLC Processor Unit Programmable Controller Nib pictureAllen Bradley 1756-L73S /B Processor, FW 1.010, Logix5573S Made 2014/03/18
$2200.0
Allen Bradley 1756-L73S /B Processor, FW 1.010, Logix5573S Made 2014/03/18 picture






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