Disable the submenu item in OSControls xtra

Hi all

I am trying to disable the first item in a submenu to create with OSXtra using this line

Sprite (20)..setItem([#submenu:0], [1], [#enabled: 0]) However, it does'nt ideas working why?

Thank you

>.setItem([#submenu:0], [1], [#enabled: 0]) sprite (20). However, it does'nt
> any ideas work, why?

The first parameter that you send to setItem() must be a linear list that
Specifies the 'path' to the element you want to disable.
If the first item in your menu has a submenu with 3 items in it and you
to turn off the second item in this submenu, you would use:
Sprite (20) .setItem ([1, 2], [#enabled: 0])
If "main menu" has 6 points and the third has a submenu with 2 parts in stock
and you want to disable the first in this submenu, you would use:
Sprite (20) .setItem ([5, 1], [#enabled: 0])

Tags: Director

Similar Questions

  • Disable the menu item in the third party application (such as Photoshop)

    Please suggest me to disable the menu item in the third party application (such as Photoshop).

    Hello

    I suggest you to send your query to the following link:

    Photoshop Help Center: http://www.adobe.com/support/photoshop/

    Hope this information is useful.

  • How can I disable the menu items using manu, Photoshop cs6?

    How can I disable the menu items using manu, Photoshop cs6?

    I packed Photoshop cs6 using AAMEE CS6.

    I need some menu items to disable.

    can someone please process to do, or what records or files need to edit.

    Enjoy the immediate response.

    Thanks in advance.

    There is another discussion on the same topic: http://forums.adobe.com/thread/1234967?tstart=0

    Perhaps the same company has contracted two of your companies

  • How can I remove blue shading around the elements of Navigation with the submenu items?

    This isn't a specific question from BC but I hope someone here can have answers to this question of CSS.

    I was through the styles and impossible to find what is causing this problem. I need to remove the blue shadow element that occurs during a flight over a menu in the top navigation item. This only occurs for the items with the items on the submenu and happens in Chrome and Safari. Here is the link to the problem of navigation http://www.freedomflooring.co.nz/testing-changes.html

    The site uses Zurb frame (s).  Here is the html code for appropriate menu

    <nav class="marketing-topbar">

    <div class="desktopMenuWrap ">
      
    <ul class="dropdown menu" data-dropdown-menu data-click-open="false">

      
    <li><a href="#">About</a>
      
    <ul class="submenu menu vertical" data-submenu>

      
    <li><a href="#">Approach</a></li>
      
    <li><a href="#">Finance</a></li>

      
    </ul>
      
    </li>  
      
    </ul>  
    </div>
    </nav>


    I put these commands in my css file, but it's not having any effect.

    a: focus,

    a: hover,

    . dropdown.menu .at-sub-menu,

    .desktopMenuWrap ul li,

    . dropdown.menu li: hover,

    . dropdown.menu li: focus,

    . dropdown.menu > li > a: hover,

    . dropdown.menu > li > a: active,

    . dropdown.menu li: hover, a: focus {}

    -webkit-box-shadow: none! important;

    -moz-box-shadow: none! important;

    box-shadow: none! important;

    text-shadow: none! important;

    border: none! important;

    }


    If someone has solved this problem, I would like to hear from them, I can't find what is causing the problem and it doing my head in. probably something really simple, but I can't.

    See you soon.

    I found the answer I was looking for (where everyone ends up here with the same problem). The following got rid of the blue glow:

    NAV *: development,.

    .marketing-topbar *: development,.

    . dropdown.menu *: focus {}

    outline: none;

    }

  • Disable the Menu item

    Greedings,

    Lets give an example of a menu bar we have main menu-> article

    to disable an element we use
    set_Menu_Item_Property ('MENU.item', Enabled, PROPERTY_OFF);

    How can we disable the good root?

    Thank you

    Lets give an example of a menu bar we have menu root-> point
    How can we disable the good root?

    If you want to disable the menu root, just set the menu property visible on No.

    Hope this will help you.

    If someone useful or appropriate, please mark accordingly.

  • How to disable the list item form in oracle Forms toolbar

    Hello

    I have to disable in the menu toolbar-> topic GIS link by using cutom.pll

    in the procedure event custom.pll I called

    If event_name = 'WHEN-NEW-FORM-INSTANCE' then
    If form_name = "EAMFANDF" then
    If block_name = "ASSET_NUMBERS" then
    Set_Menu_Item_Property ("SPECIAL5: GIS Link', ON, PROPERTY_FALSE");
    end if;
    end if;
    end if;

    Please give me a solution...

    With respect,
    Maha

    Hi all

    I got a solution using this code I can enable disable the menu and the menu list.

    declare
    v_Asset_no varchar2 (50);
    a MENUITEM;
    Begin
    a: = FIND_MENU_ITEM ("SPECIAL. SPECIAL5');
    If (event_name = ' one TIME-NEW-POINT-INSTANCE ') then
    If (form_name = "EAMFANDF" AND block_name = "ASSET_NUMBERS") then
    v_Asset_no: = name_in('ASSET_NUMBERS.) ITEM_NUMBER_MIR');
    If v_Asset_no = "DT" then
    app_special2. Instantiate ('SPECIAL5', 'GIS Link');
    -SET_MENU_ITEM_PROPERTY (one, displayed, property_true);
    SET_MENU_ITEM_PROPERTY (one active, property_false);
    On the other
    app_special2. Instantiate ('SPECIAL5', 'GIS Link');
    -SET_MENU_ITEM_PROPERTY (one, displayed, property_true);
    SET_MENU_ITEM_PROPERTY (one active, property_True);
    end if;
    end if;
    end if;
    end;

    Kind regards
    Mohan Reddy

    Published by: MAHA REDDY on May 17, 2013 12:02 AM

  • Disable the tab items

    Hi all

    How to disable the second tab until I have fill the required information in the first tab? I just want to enter 2nd page after completing the first information of the page. Please explain how I can do?

    With respect,
    Sunil Bhatia

    Hello

    When you have created pages of tabs, you will see that in the presentation pages
    In the pages of presentation you made, transformation and shared components.

    When you press tab in the section overview page, you can add the authorization scheme or conditions to the tab.

    Kind regards
    Iloon

  • Disable the menu item just before exit_form; is not turn it off.

    Hello

    Not sure if anyone has had this problem.

    I have a form to open a session
    This form called a loggin cmdlet when the applet is done with the connection he present a distpatch back to the login form.
    The login form is running a TIME-CUSTOM-POINT-EVENT

    In WHEN-CUSTOM-POINT-EVENT, I have the following:

    declare
    MenuItem v_mi: = NULL;
    BEGIN
    v_mi: = Find_Menu_Item (' MY_MENU.) CONNECTION ");"
    Set_Menu_Item_Property (v_mi, Enabled, PROPERTY_FALSE);

    v_mi: = Find_Menu_Item (' MY_MENU.) LOGOUT');
    Set_Menu_Item_Property (v_mi, Enabled, PROPERTY_TRUE);

    exit_form; -If I comment that it works, why?
    END;


    the exit_forms does not allow to disable my menu_items if I call it, but it works when I don't?


    Any Advisor.

    Kind regards.

    Published by: Miguel Cetz, Sep 24, 2008 11:46

    How did you call your form module. If the calling form used a DO_REPLACE as a parameter in CALL_FORM, the menu that you have disabled just one element is replaced by the appellant menu again.

    hope this helps

  • Run time shortcut menu - disable the menu item



  • Disable or remove the menu item 'Print the Pages' in reader

    Hello

    I would like to delete (or disable) the menu item print Pages in adobe reader

    See the attachment for the location of the menu item

    Thank you

    Mike

    Is not possible.

  • How can I disable the menu

    I created 2 elements menu say save, open, and I want to disable the menu item open. Can Hoiw I do this task?

    You can put the conditional code in your makemenu method to disable a menu.

    Something like:

    protected void makeMenu( Menu menu, int instance )
    {
        menu.add(saveMenu);
    
        if(condition == true)
        {
           menu.add(openMenu);
        }
    }
    

    Concerning

    Bika

  • How do I add another site as a submenu item?

    A site made by a creator of free website (Weebly) by someone else maybe a submenu item in a site created with Muse by myself? I am currently a link to this site from the menu page, but it should be a submenu item.

    Hi Edith,.

    Place the menu on a page. Change the type of menu to 'all pages '. You will be able to see the submenu items in the menu drop-down then. You can then select the item you want, go to the hyperlink above and type the address of the external site to amalgamate it with the submenu item.

    See you soon!

    Aish

  • I disabled the toolbar &gt; &gt; Menu button (via a right click on a PC, Windows 7) and cannot access the toolbar to add items to the sail back in. Any ideas?

    I disabled the toolbar > > Menu button (via a right click on a PC, Windows 7) and cannot access the toolbar to add items to the sail back in. Any ideas?

    Don't see the menu bar not (File, Edit, View, history, Favorites, tools, help)?
    Turn on/off the menu bar is a new feature in version 3.6.
    (Linux and OSX see: what happened to the file, edit and view menus? )
    Windows Method 1. Press and hold the key and press the letters of the following in this exact order: V T M
    Windows method 2 Press and release the button. The Menu bar is displayed; then choose ~ ~ red: V ~ ~ iew > ~ ~ red: T ~ ~ oolbars and click on ~ ~ Red: M ~ ~ enu Bar.
    The menu bar should now be displayed permanently, unless you turn it off again using view > toolbars. Check = not displayed, NO check mark is not displayed.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing

    Navigation, bar toolbar bookmarks and other toolbars under view > toolbars. By clicking on one of them will place a check mark (display) or remove the check mark (not shown).

    To display the status bar, view, and then click status bar to place a check mark (display) or remove the check mark (not shown).

    Mode full screen
    http://KB.mozillazine.org/netbooks#Full_screen

    See also:
    Back and front toolbar buttons or others are missing
    Customize controls, buttons, and Firefox toolbars

  • How to configure the keyboard shortcuts App for submenu items?

    Hi-

    I'm trying to define keyboard shortcuts for Pro Tools. I am facing a problem, however. I want to put a shortcut for the menu item

    View-> view-> Inserts A-E Edit window

    in the keyboard preferences window, so I've created a shortcut to the App to «inserts A - E» The problem is that there are other elements of submenu in Pro Tools with the same name, for example

    View-> Mix window views-> Inserts A-E

    Track-> Bypass inserts-> Inserts A - E

    and it is the latter who eventually be triggered by the shortcut. In fact the shortcut appears in the three places during the navigation in the menus; but it only triggers the item "bypass".

    In the keyboard preferences pane, is it possible to specify which menu a submenu item resides in?

    I'm on El Capitan 10.11.2, ProTools 11.3.1.

    Thanks in advance

    ~ peter in istanbul

    It is not possible that you are trying. Shortcuts can handle only a single menu command name. The command being the last point. Other menus of the parent are not considered.

  • inserting submenu items via the code - not the file editor graphics *.uir (not the edit &gt; &gt; Menu Bars... method!)

    How submenu items are constructed by code and not the edit menu bar settings in the *.uir Editor?  NemMenuItem (...) does not do that, or I'm not plugging in parameters correctly, which I doubt is the case.  BTW, he has no explanation in the help of v.8.0.1 AIC menu items on NewSubMenu (...) and how to use the subMenuHandler for all other functions.  At least everything I found had nothing to do with submenu items.  Is it impossible to do it by programming?

    Hi Chris,

    You can paste the code below directly to the interactive execution window and run.

    The result is in the attachment.

    #include

    public static int NLP, mbar, menu;
    public static int mitem, submit, submitem;

    NLP = NewPanel (0, "", 250, 250, 250, 250);
    mbar = NewMenuBar (NLP);
    menu = NewMenu (mbar, "menu",-1);

    mitem = NewMenuItem (mbar, menu, "submenu",-1, 0, 0, 0);
    prese = NewSubMenu (mbar, mitem);
    submitem = NewMenuItem (mbar, submit, "submenuitem",-1, 0, 0, 0);

    DisplayPanel (NLP);
    RunUserInterface ();

    I hope that's what you asked for.

    Have a nice weekend

Maybe you are looking for

  • How to determine if all memory modules are working properly

    Ref: Pavilion a1102n, Windows XP 32-bit. I upgraded my memory from the computer by replacing the 2 existing modules of 256 Meg of origin with 2, 1 Gig modules. This gave me 1.97 GB RAM as shown in Control Panel - System - general. Recently, I added 2

  • HP Pavilion series: Message Office says "insertWindows installation disc.

    "Unable to start Windows.  1. Insert the windows installation disc, and then restart 2.  Choose the language setting, click Next. Click on repair. I don't have an installation disc.  Where can I get one? I can't do anything on the phone (I know becau

  • How will I know my fps rate?

    using 2 video cards

  • hp4500 ignore the lines

    My HP Officejet 4500 wireless printer does not print every 3rd line of a MS word or pdf document.  I cleaned and replaced ink cartridges with no luck.  I downloaded printing & scanning HP doctor, but he finds everything agree & printed a page of test

  • How can I recover the forgotten password?

    My daughter put in place and I forgot administrative password for windows 7 and I need to download microsoft office. He asks the password that we don't know, in what I can do?