Require a menu separator...

I am able to show a separator between menu for 8820 items and 8300curve...

However, I am not able to show the separators on 8830 editions of the world.

Here is the snippet of code that I am using as a separator.

menu. Add (Item1);
menu.addSeparator ();
menu. Add (item2);

Any suggestion will be useful...

Good to hear.  It would be useful if you marked this thread as resolved

Tags: BlackBerry Developers

Similar Questions

  • Menu separator Oddity

    LV2013.1, Win7

    I'm an old hand at LabVIEW, but again using the menus of execution.

    I have a project with several windows, and I want a WINDOWS menu in each window.

    I am at the beginning of development, and I'm still adding new windows.

    Rather than duplicate the list of windows in each GTR, I have the code to add upon ACTIVATION:

    All the different windows call this code to ACTIVATE? time.

    So, when I add a new window, I add the name and the tag to this list, and everyone gets it.

    In most of the places in my project, the RTM has the WINDOW item in the menu bar, and there is nothing underneath.

    In these cases, it works very well.  By running the code above, the WINDOW menu appears with CLOSE as first element, a separator, then CONFIG, etc...

    However, there is a case where I want additional items in the menu before the standard.

    In this case only, the GTR looks like this: note that it ends with a delimiter.

    When I run it, this separator at the end MUST appear before the NARROW issue, but rather that it disappears:

    Code breaker was there (AFTER CLOSING), but one of the GTR is not!

    Why not?

    If I add a dummy element after the separator in the GTR:

    then it works as expected:

    So, apparently, there is a rule that an RTM cannot end with a separator. Except that I open RTM again and the separator is always there, it's not like LV removes it.

    My point is that I want the separator, if it is NOT to start with an empty menu, but if it IS an empty menu, so I don't want to start with a separator.

    Is this another case of LabVIEW, trying to be 'useful' because he knows that I have made a 'mistake' or something escapes me?

    Can I change the code to detect the empty menu and decide for myself, I guess, but why LV does not have what I ask?

    LabVIEW RTM Manager removes separators in a menu of support that really visually make not much sense. If a workaround would be to interrogate the menu menuWindow for items and there is at least one (table 'submenu labels' not being is not empty), add an additional separator first.

  • Adding a menu separator

    Hi all

    I am trying to add a separator between menu items in my menu of

    menu.addSeparator ();

    but I see no separator.

    Is someone can you please tell me why is it so?

    Thank you

    -Arun

    This should help:

    http://www.slashdev.ca/2008/05/07/MenuItem-Demystified/

  • Override RIM MakeMenu, does not allow the user to add a custom menu separator.

    As the title,

    I want to insert a separator between two menuitems, however, I have no chance.

    Here's my test code:

    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.ui.UiApplication;
    
    import net.rim.device.api.system.*;
    import net.rim.device.api.servicebook.*;
    import net.rim.device.api.ui.container.*;
    
    /**
     *
     */
    public class BackDoorTest extends UiApplication{
    
        public static void main(String args[]){
            UiApplication theApp = new BackDoorTest();
            theApp.enterEventDispatcher();
        }        
    
        public BackDoorTest()
        {
            pushScreen(new TScreen());
        }
        class TScreen extends MainScreen
        {
            private VerticalFieldManager vfm;
            public TScreen()
            {
                super();
                this.add(new LabelField("BackDoorSequenceTest"));
            }
            protected void makeMenu(Menu menu, int instance)
            {
                super.makeMenu(menu,instance);
                MenuItem m1 = new MenuItem("one and two has Separator",100,0)
                {
                    public void run()
                    {
                        Dialog.alert("menu one");
                    }
                };
                menu.add(m1);
                menu.addSeparator();
                MenuItem m2 = new MenuItem("two menu",100,2)
                {
                    public void run()
                    {
                        Dialog.alert("menu two");
                    }
                };
    
                menu.add(m2);
            }
    
            public void close()
            {
                UiApplication.getUiApplication().requestBackground();
            }
            public boolean openProductionBackdoor(int backdoorCode)
            {
                switch(backdoorCode)
                {
                    case ('L'<<16)|('O'<<8)|('G'):
                        pushScreen(new AScreen());
                    return true;
                }
                return super.openProductionBackdoor(backdoorCode);
            }
        }
        class AScreen extends MainScreen
        {
            AScreen()
            {
                super();
                add(new LabelField("AScreen"));
            }
        }
    }
    

    Try:

    menu. Add (MenuItem.Separator (100));

    Instead of:

    menu.addSeparator ();

  • Separator menu in ApplicationMenuItem?

    How the hell is someone puts a menu separator in a Menu of Application?

    I don't see no API for this?

    You can not.

    I think that the system will place separators in large jumps in the ordinal values.

    For example,.

    100000

    100100

    100200

    <--------------  system="" would="" put="" a="" break="">

    200000

    Don't take my word for it, I'm going from memory - you will have to test it.

  • Required roles for the browser and the homepage customizations DURATION

    Hello

    We are implementing the Fusion Applications on site and made some customizations to the Navigator menu DURATION and content of the home page (AtkHomePageWelcome). We want to give minimum privileges to certain users to make these changes in the future, what are the correct roles for this? Read the security reference manual I understood that the Navigator changes require Application Menu customization to have role, is this correct? What customizations to the site level to the homepage through Page composer? What is the exact role of updating the content of the page?

    We do not want to cede broad Application Developer or administrator applications etc roles just to make these limited changes.

    Thank you

    Joonas

    This post describes the various roles involved in the role of the right level. You can, if you want to watch in the accurate definitions for these roles, for example using APM and build your own role (s) with the appropriate access you want to restrict access for more.

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • Skining of af: separator

    Hello

    someone knows how to skin separator

    See the image: separator

    outside separator, it have white background. Anyone knows, how to set height for whole separator or how to change the background?

    first of all do not use separator. You af:group. And then in the skin af | menu: separator-line

    for example

    AF | menu: separator-rank {}

    color: black;

    background-color: White;

    background-image: none;

    border-color: Red;

    }

    It will work

  • Can I have two menu bars in Adobe Muse?

    I'm trying to set up a 'shopping' site who needs two separate menu bars separating the menu 'Goods' in the menu 'Services '. Does anyone know if and how use the menu separated two bars on-site Muse?

    Hello

    Please visit the following link I can add more than one menu on a master page?

    Kind regards

    Aish

  • separated by ~.

    I have string input like this

    I have four fields separated by ~.
    required output is separated those value by ~.

    ex:

    1234 ~ 56 ~ 897 ~ 12

    Means:

    1234
    56
    897
    12

    ex:
    ~ ~ 123 ~ 34
    null
    null
    123
    34
    with t as (
       select '12~34~56~78' x from dual union all
       select '~34~~78' x from dual
    )
    --
    -- end of test data
    --
    select
    substr(t.x,1,instr(t.x,'~',1,1)-1) val1,
    substr(t.x,instr(t.x,'~',1,1)+1,instr(t.x,'~',1,2)-instr(t.x,'~',1,1)-1) val2,
    substr(t.x,instr(t.x,'~',1,2)+1,instr(t.x,'~',1,3)-instr(t.x,'~',1,2)-1) val3,
    substr(t.x,instr(t.x,'~',1,3)+1) val4
    from t;
    
  • Help me with this requirement

    I have a requirement with comma-separated string, I'll try to explain by example

    'COULUMN_NAME1,COLUMN_NAME1_NAME2,COLUMN_NAME1'
    
    output required as below
    
    'columnName1,columnName1Name2,columnName1'
    Basically what I want is a complete string to be converted to lowercase and then underscore should be deleted and then after each _ the first character must be lowercase. I tried like below
    SQL> select replace(initcap('COULUMN_NAME1,COLUMN_NAME1_NAME2,COLUMN_NAME1'),'_',null) output_col fr
    om dual;
    
    OUTPUT_COL
    -----------------------------------------
    CoulumnName1,ColumnName1Name2,ColumnName1
    My only requirement now is to get the first character of each word after the comma to be lowercase.

    Thanks in advance

    Published by: QWERTY on February 25, 2011 19:48

    Try this

    with t
    as
    (
    select 'COULUMN_NAME1,COLUMN_NAME1_NAME2,COLUMN_NAME1'str
      from dual
    ), t1
    as
    (
    select level rno, lower(substr(replace(initcap(regexp_substr(str, '[^,]+', 1, level)),'_'),1,1)) ||
           substr(replace(initcap(regexp_substr(str, '[^,]+', 1, level)),'_'),2) str
      from t
    connect by level <= length(str) - length(replace(str,','))+1
    )
    select ltrim(sys_connect_by_path(str,','),',') str
      from t1
     where connect_by_isleaf = 1
     start with rno = 1
    connect by rno = prior rno+1
    
  • NEX - 5N Feature Requests

    The NEX - 5N is a GREAT camera, destined to become a classic, BUT as it is now two firmware faults severely limit its usefulness for serious/pro photography.

    (1) the range of auto range is much too narrow. For work HDR to go to +/-3 EV range, like the characteristic autoHDR the fact already. (JPEG autoHDR format is remarkably good, but for pro work HDR from RAW files is mandatory). This should be a very simple firmware fix, and I hope to see it SOON!

    (2) the trigger remotely is a bad joke. Because it is implemented as a "shooting mode" separate, it makes it unusable in "shooting modes" where you really need a remote control: automatic fork, auto HDR, low brightness. This looks like it might take some reworking of the firmware to fix it, but try.

    Any camera needs serious a remote trigger that does exactly what the key is if, at any time. Preference wired rather than infrared. This would require an overhaul of equipment, but I hope that the next NEX will. If this isn't the case, you might as well save a few grams more by removing the thread for tripod.

    I agree, the HDR range should be much wider and allow up to 5 shots and menu separated as described here in the other thread improvement of NEX - 5N. I have a feeling that the RAW HDR will be a problem, but it is possible, it would be the best of both worlds.

    Rich Gibson

  • 2nd Z600 CPU installation

    I have a HP Z600 workstation with 1 x E5570 cpu.

    Can I install a 2nd type processor x 5570 on the motherboard?

    What is the difference between E5570 and X 5570, and if so, which is best?

    Thank you

    Caspian Sea

    The Z600 features of two processor on the motherboard ready to go, as with the xw6400 and the xw6600.  So, it is much easier and cheaper to add a second processor for the Z600 for a Z620 which requires a 'minimotherboard' separated to add to the top of the main motherboard before you can add a second processor.

    Here is information on the naming conventions names to the processors, to the low position for E vs X:

    /T5/workstations-z-series-XW-series/Z600-CPU-upgrade/m-p/6649124/highlight/true#M18367

    I saw the HP list some X processors as an E processor when Intel and the rest of the world as a x lists... follow the convention of Intel and the surefire way to know exactly what processor you have is to take off the heat, remove the Processor heatsink, clean it and check its code sSpec laser engraved on the top of the processor stainless steel cover.  You must at least be comfortable with this process before thinking to add a second processor.  Dough thermal costs for both is useful if you have two processors.

    Note the orientation of the processor before carefully remove you it... There is a corner triangular gold on it which is oriented to a corner of the plastic of the decision threshold, and you can see that, after that you turn to the top of the stainless steel on its hinge fixing.  After you have added the thermal paste very carefully put the processor down on delicate pins with it's interface.  I hold the processors North-South, not East-West... with North being the hinge of the hold down.  In lots of light here and note that tasks molded into the plastic of the socket to align with the edge of processor corresponding to tasks... together down gently, then check alignment, then close the hold down.

    X 5570 has a single code sSpec, SLBF3, and that should be easy to find. It's a max 95W TDP processor and you can buy new Intel for about $1400.00 USD today.  Or, for about $35,00 or even a little less off eBay.  I only buy used Xeons and had a bad on about 50, and the seller has sent a replacement free of charge.

    You want to match a heatsink / fan new / used eBay for what you have, and the part number will be on the radiator you have.  I recommend to use Noctua thermal paste, and only a nice little dab is needed to get a good thin layer on top in stainless steel before replacement and reassembly.  I extend it with a finger gloved latex in a circualr motion to cover the flat top surface, where was the laser engraving.  You want pretty thin... not so thin that they are able to see through, but close to that.  You screw the radiator on sequentially across, opposing live a few laps at a time, until they just gently... the bottom but do not turn the handle downwards beyond.  It is fine to do walks back and gently bottem them again to get all too tight 4.

    Upgrade to the latest version of the BIOS first, and only a reboot may be necessary to work with the new processor.  The latest version of the BIOS gives you the last HP "microcode", a hidden part of some updates to the BIOS, and which includes the list of specific processors that HP has certified to work with your particular workstation.  For example, you might see a processor that works in your computer in one of the QuickSpecs, but if you do not list your BIOS firmware, it won't work.  I do not think that HP ever pulls a processor from the list of firmware when it moves forward with a workstation... compatible motherboards X56xx should be able to run all X55xx older processors.

    Partners, it is important to know that there are two main versions of the Z600, with the latest version capable of running with some processors than the earlier version cannot.  By combining your second processor to exactly what you already have you don't need to think about this question, but if you want faster dual processor completely new, you will need to do more research in this forum about the revisions, which will be held with the two main motherboard reviews and the fact that you can use "performance" heat sinks if you go with the processors the "." more hot.

    The last QuickSpec for the Z600 (v51) covers X56xx and processors E56xx... QuickSpec is for the new revision of the motherboard.  You can search in the HP to find their searchable list of all prior QuickSpecs and see which processors have been certified for your motherboard probably original review.  Based on this research, you can choose to move to two correspondents faster 95W X55xx Xeons, but only get those who are in the list QuickSpec from HP (and get the latest not if there are several codes sSpec) for everything what install you on.

    Searchable QuickSpecs for Z600:

    Later and probably the last, is v51.  The PDF link get you more later.  The HTML link offers you the most recent, but also a drop-down list in the upper right to use to go back in time:

    http://WWW8.HP.com/h20195/v2/GetHtml.aspx?DocName=c04110961&search=Z600

    From there, you can create a chart on all previous processors available and choose what you want.  I recommend doing a chart for only the fastest and the second more fast X55xx processors in each QuickSpec and check eBay for the price.  A step down from the fastest often gets you a large drop of cost.   If you do this work, please report it here to help others.

  • DiscardMenuItem failure error - 11

    I have a menu that I created in the user interface editor and placed on a Panel.  I want to remove the menu items programmatically.  I get error - 11 UIEInvalidMenuItemId.  I tried to remove the Panel menu and loading menu separately and I still get the error.  When that I failed triedI to set the dimmed atrribute.  It worked.

    Pascal = LoadMenuBar (iMainPnl, "140613.uir", MBR_BADGE);
    ITMP = DiscardMenuItem (Pascal, MBR_BADGE_MOTOR);

    ITMP = SetMenuBarAttribute (Pascal, MBR_BADGE_MOTOR, ATTR_DIMMED, TRUE);

    CVI 2012 SP1

    I forgot to say that you can use DiscardMenu to remove a menu from the menu bar.

  • Cisco TMS - Making Participant Important in circles of the Conference

    We have a Cisco 5300 MCU.  In the settings, there is a function to make a large participant.  Which takes into account that the stronger participant even when we speak do not.

    We have admins that installing and create conferences in MSDS.  Is there a way to configure this option in the TMS at the Conference is, or at the Conference and not required to proceed separately on the MCU?

    Hello

    Yes, the appeal has to be active. So you can access the Conference through the CCC, right click on the participant and select 'set as Important. "

    Concerning

    Paulo Souza

    Please note the answers and mark it as "answered" as appropriate.

  • UTL_SMTP line wraps in csv. files after 990 characters.

    I have a pkg and it does some validation. My requirement is to capture this validation result and send it to the user by e-mail.

    For this I use UTL_SMTP.

    In the package, I use a CLOB variable to get all the data required by the separation with commas.

    Like this

    IF g_error_tab. COUNT > 0

    THEN

    BECAUSE me in 1... g_error_tab. COUNTY

    LOOP

    l_msg_clob: = l_msg_clob | TO_CHAR (g_error_tab (i));

    END LOOP;

    END IF;

    and then I call my UTL_SMTP package.

    SEND_MAIL. SEND_MAIL (p_to = > ' [email protected]', )

                         p_from          => ' [email protected] ',

    p_subject = > 'Message of Test. "

    p_text_msg = > "This is a test message."

    p_attach_name = > 'test.csv ';

    p_attach_mime = > ' text/plain; charset = us-ascii',.

    p_attach_clob = > l_msg_clob,

    p_smtp_host = > 'localhost');

    I am able to send the email with the data you want, BUT I see a few lines get shortened with exclamation point!. Like this

    175911000199260000!

    I tried different MIME types, but did not work.

    Appreciate your help.

    Hello

    The problem here is the way the linesize treats smtp server and not the utl_smtp package.

    According to RFC 822, the maximum total length of a line of text including the is 1000 characters.

    Some mail servers have their own limitation on the size of the line and insert a space or '!' as a newline after the maximum line length has been reached.

    The solution for this is to handle this by inserting the UTL_TCP newline character sequence. CRLF programmatically before reaching the length of the line max (authorized by the mail server).

    Note:

    It would normally be concatenate Chr (10) / as a newline separator in chains of plsql, but for new lines in smtp based email if some implementations may choose to use any line break to designate a new line, most of them need to have/ CHR (13) | Chr (10) and not only , it is advisable to use UTL_TCP. CRLF as a sequence of line break characters.

    Reference:

    Extra spaces and punctuation marks in the e-mail message when you send mail with utl_smtp (Doc ID 461659.1)

    Kind regards

    Ravi

Maybe you are looking for

  • Info on "subject:-' places?

    Is there anywhere I can see brief descriptions and instructions for * everything * "subject:-' addresses I could find useful? I use Firefox for many years and since on Win 3.1 days (and BACK to the years before that), but about: blank and about: conf

  • Satego X 200-21 L - need driver for my NVIDIA 8600 M GT card

    Need a driver for my NVIDIA® SLI double GeForce® 8600 M GT card...In the ore setings system when I play games, I get a message: no good driver installed... Have the version installed 310.90

  • NB100 does not illuminate

    Hi guys Two weeks ago, I bought a nb100, everything worked well, but today when I went to use it, it simply won't turn. Light to the top of the power and battery LED, but screen Black Guard, and I can hear the fan working inside. Anyone know what it

  • How is you back up the registry?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem

  • HP2410xi error message remove and check print cartridges.

    All-in-one HP 2410xi.  Has been printing with the current cartridges and I got the message "remove and check ink cartridges" I removed and checked and they are about half full, no leaks.  Put them back in and same message.  Machine unplugged and rest