DOing same function as Runtime short cut menus example except with menu ring...

Newbie here: I am attempting to create a slide out menu much like the one in the Runtime short cut menu example (in example finder) except with a menu ring instead of the list box that is used in the example.  I have a menu ring with 8 values in it and on 3 of the option I would like a secondary menu that slides out to the side that displays another sub-menu.  Can this be done easily/efficiently?  I am looking at other alternatives but this option would be the best for my application from a user stand point.  Any help and examples would be appreciated. 
Thank you
Steve
Solved!
Go to Solution.

What is being shown in that example is how you can modify or create your own runtime menus (aka popup menus or right-click menus) for a given control.  Basically you customize the menu and then use event cases to handle what to do for the menu selections.
Now a menu-ring control is a different beast entirely, BUT it looks almost exactly the same, so I see why the two could be confused.  As far as I know, there's no support in a menu ring for multiple menu levels.
Often times I find that effective labview GUI design (and well, design in general) works best with a compromise of what you imagine for what you can do easily and simply.  Flow like water: find a native control behavior that's *good enough*. 
But! here's a hack that might get what you want.  It sounds like you want the multi-levelness of a right-click menu but without having to right-click?  Use a "mousedown?" filtering event to replace left-clicking with right-clicks!  Now when the user left-clicks, labview will tell the OS that they right-clicked.
-Barrett
CLD

Similar Messages

  • How to attach short cut keys to open a menu in a menubar

    Hi,
    I have three menus say File, Edit, Help in the MenuBar and i want to open these menus when i press short cut key from Key board, say Alt+F for File menu, Alt E for Edit menu and so on. When the file menu is shown i want to select the New menuItem in it by CtrlN.
    When i press Alt key the letter F in File, E in Edit should be underlined.
    So can you please give me some sample code for this.
    Thanks.

    Hi. Here is an example. It works on Windows. I am not sure about other platforms.
       import java.util.AbstractMap.SimpleEntry;
    import java.util.Map.Entry;
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.*;
    import javafx.scene.effect.DropShadow;
    import javafx.scene.effect.Effect;
    import javafx.scene.effect.Glow;
    import javafx.scene.effect.SepiaTone;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    import javafx.scene.layout.*;
    import javafx.scene.*;
    import javafx.geometry.*;
    import javafx.application.Application;
    import javafx.collections.ObservableList;
    import javafx.geometry.Pos;
    import javafx.scene.*;
    import javafx.scene.control.*;
    import javafx.scene.image.ImageView;
    import javafx.scene.layout.*;
    import javafx.stage.Stage;
    public class MenuSample extends Application {
      public static void main(String[] args) { launch(args); }
      @Override public void start(final Stage stage) {
        // create some menus.
        final Menu fileMenu = new Menu("_File");
        fileMenu.getItems().addAll(
          new MenuItem("_Open"),
          new MenuItem("_Save"),
          new SeparatorMenuItem(),
          new MenuItem("_Exit")
        final Menu playMenu = new Menu("_Play");
        playMenu.getItems().addAll(
          new MenuItem("_Start"),
          new MenuItem("_Stop"),
          new MenuItem("_Pause"),
          new CheckMenuItem("_Rewind")
        final Menu helpMenu = new Menu("_Help");
        helpMenu.getItems().add(
          new MenuItem("About")
        final MenuBar menuBar = new MenuBar();
        menuBar.getMenus().addAll(fileMenu, playMenu, helpMenu);
        final VBox layout = new VBox(10);
        layout.getChildren().addAll(menuBar);   
       // layout.setAlignment(Pos.CENTER);
        layout.setStyle("-fx-background-color: linear-gradient(to bottom, silver, derive(silver, 80%));");
        final Scene scene = new Scene(layout, 400, 525);
        stage.setScene(scene);
        stage.show();
      //  ObservableList<Node> menuNodes = ((HBox) menuBar.lookup("HBox")).getChildren();
       // Control menuNode = (Control) menuNodes.get(menuNodes.size() - 2);
       //  menuNode.setMaxWidth(Double.MAX_VALUE);
       // HBox.setHgrow(menuNode, Priority.ALWAYS);
    }

  • Short cut for converting pngs with reflection to jpg?

    After reading the posts about huge image sizes, I tried the suggestion about turning off effects. But I found I liked the little reflection bit at the bottom of my images. So I left in the effect and published my site to get the swoopty png files with alpha and reflection.
    I then loaded the png files up into GraphicConverter, and used that to generate a jpeg. GraphicConverter wanted to know what to do with the alpha channel, so I experimented and found flattening it did what I wanted.
    Finally I turned off reflections on my images, added the new much smaller jpg to my pages, resized and repositioned the graphics. And now I have something that looks to me just like what I started with only with smaller page sizes.
    So.... The Question ... Does anybody know a simpler way to get this same result? I don't want to do this every time I add a picture to my iWeb built website.

    Chris...
    You are discovering the many workarounds that iWeb forces us to do in order to maintain control over visibility in IE and file sizes! Here is what I generally do when I want to apply image effects like rotation, drop shadows, frames, reflections....and I DON'T want iWeb to convert my small JPG into a big PNG...
    I basically arrange the elements of my page to my liking...say it's a series of 3 images in an arrangement and I apply frames and a reflection to it. If I just publish, iWeb will convert my 3 little jpgs into 3 big(ger) PNGs just because of the effects. Instead, what I do is I take a screenshot of the 3 image group once I am happy with the final arrangement using Apple-shift-4. I run the resulting PNG "Picture 1" through my favorite program "Downsize" in order to convert back to JPG, and the result is a nice small jpg with all the effects that I applied! I then delete the 3 elements in iWeb and drop this one little jpg in and voila! That's it! Sometimes I do this with entire pages and really get fast loading pages that also look good in IE.
    If you have found any of this information to be useful to you, please take the time to provide me with feedback by marking my reply as "solved" or "helpful" using those little buttons that you see in the title bar of this reply. I'd really appreciate it!

  • Keyboard short cut to activate the Apple menu

    I recently had a situation when my bluetooth wireless mouse lost it pairing. Fortunately I have a Magic Track pad that was working. I would like to know the keyboard shortcut to activate the Apple menu so if this problem arises again I can, restart, or as I did in this case go to system preferences->bluetooth and delete the mouse and add it back. I have the article, http://support.apple.com/kb/HT1343?viewlocale=en_US, with all the keyboard shortcuts but cannot find one to activate the Apple menu.

    Don't know of one that opens the  but you can get there by:
    Hit OPT-F2, System Preferences will open to Displays but the cursor will be in the search box. Type bluetooth and hit enter and you'll be in the PreferencePane for Bluetooth.
    Should accomplish the same thing.
    Regards
    Edit: I finally found it. CNTL-FN-F1 to turn on full keyboard access then CNTL-FN-F2 will highlight , then down arrow.
    Message was edited by: captfred

  • Why do keyboard short cuts no longer work with ios6?

    I use Keyboard Shortcuts very often.. Well, I did use them often with iOS5...
    How is it that with iOS6, it comes with omw = on my way preprogrammed but auto correct assumes you're trying to spell "one."
    This issue along with the Maps debacle is very frustrating to deal with. Is this the start of the downfall of Apple? It seems like a small detail but if a small issue like this is overlooked, what else will be forgotten about?

    Further to the above point. ALL of my previously used shortcuts are no longer working.

  • Short Cut Key for Personalized menu

    Hi
    I've created an Menu for the zoom function using personalization, Is it possible to setup a short key for the menu created
    Example: for the File menu we can use Alt+F similarly is it possible to build the short cut key for the custom menu created using personalization
    Please advice
    thanks
    Regards
    Ramesh Kumar S

    The Character '&' worked very well as expected...
    Thanks a lot
    Regards
    Ramesh Kumar S

  • Locking out the startup short cut keys

    Anyone know how to get the Intel Macs to not allow the apple-s, apple-v short cut keys on startup? I have a loaner iMac from Apple and noticed that the Open Firmware Password application only keeps the user from switching the startup disk using either the apple-c or option key on startup. Unlike the PPC versions though, it does not stop the other short cut keys.
    So, anyone know how to lock down an Intel Mac like you could with the PPC ones?

    Hi...
    Thanks for reply..
    Can u give me some detailed information.. i.e. what i have to do exactly in the c/c++ code if i will use JNI?
    If possible give me the source code for that..

  • Short cut key for created menu

    Hello All:
        Want to know if it is possbie lt put a short cut key to a addon menu...
        I can't attach it in SBO because when it starts menu has not been generated yet, and it automatically loose it. I can't seem to capture combination keys in main main desktop using keysdown event type. Is there anything that I can use??
    Sincerely Yours

    Hello Bo,
    You may try the form key down event. sample code:
    SHIFT+P: open BP
    CTRLSHIFTQ: open sales quotation
    Public Sub ItemEventHandler(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, _
        ByRef BubbleEvent As Boolean) Handles oApp.ItemEvent
          If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_KEY_DOWN And pVal.Before_Action = True Then
                MsgBox("Modifier: " + CInt(pVal.Modifiers).ToString() + " Char precessed" + pVal.CharPressed.ToString())
                If pVal.Modifiers = SAPbouiCOM.BoModifiersEnum.mt_SHIFT Then
                    'SHIFT+P : Open the Business Partner               
                    If pVal.CharPressed = 80 Then
                        oApp.ActivateMenuItem("2561")
                    End If
                ElseIf pVal.Modifiers = SAPbouiCOM.BoModifiersEnum.mt_CTRL + SAPbouiCOM.BoModifiersEnum.mt_SHIFT Then
                    'CTRL+SHIFT+Q: open sales quotation
                    If pVal.CharPressed = 17 Then
                        oApp.ActivateMenuItem("2049")
                    End If
                End If
            End If
    End Sub
    Regards, Yatsea

  • Web ADI Create Document - Short Cut Save to Form  Function Grayed Out

    How do I "ungray" Save to Form Function to allow a save?
    RDBMS 10.2.0.4.0
    Apps 11.5.10.2
    Only GL and Desktop ADI
    Oracle on Demand Customer - does not give us SysAdmin Responsiblities
    We have:
    Applicatin Adiministrator does not have Application> Funcitons
    Application Developer has Application>Forms and Function
    Setup Web ADI super user menu with Create Documents, Define Layout, Define Mapping, Manage Documents
    Setup options and "Hidden" Enter Journals
    Thanks for you help,
    Dale

    I still have no response or answers
    Refer the section "Creating Form Functions Using the Create Document Page Flow" in Oracle Web Applications Desktop Integrator Implementation and Administration Guide. User to have system administrator responsibility assigned to have this feature enabled as this is a SysAdmin task.
    THE BIG QUESTION - since "Oracle on Demand" will not allow their users to have System Administrator, how can I add the required functionality to the supplied Application Administrator and resolve the questions below?
    Problem Description:
    Web ADI – Create Document, Save to Form Function is grayed out, therefore it can not be used
    1. How do we enable Web ADI functionality to Create document and Save to Form Function?
    2. Once saved to form function how to we navigate to Application>Functions?
    3. Once the Short cut is saved to the Form Function, how do we attach to a user’s responsibility?
    We have only Application Administrator with no Applications> Functions menu, however we do have in our test instance Application Developer with Applications>Forms and Functions, but it does not appear to have the same rights as SysAdmin. I tried adding the menu functions simular to SysAdmin to Application Administrator but no luck unlocking (ungraying) the form.

  • Cc2014 premiere short cut key not function in Window 7?

    Hello All
    Just got my premiere CC 2014 update recently somehow all the Hotkey or short cut key is not function like "space bar C or V )
    the keyboard works fine "i can type"wonder if anyone have the same problem or know how to solve this problem
    thank you   
    Kelvin
    and I test with other adobe product photoshop bridge works fine, in the premiere interface i go under edit/ keyborad shortcuts on the selection tool razor tools slip tool etc none of them had the shortcut mark on the side
    I try to click and create a shortcut to it but unable to, what is going on I had a few project due very soon. please help

    I'm the only person that needs to save the Titles?
    I do it sometimes when I want to reuse a title in more than one project.
    When you export out the Titles, what happens then?
    Only then does it become a separate file, suitable for importing into other projects.  This is NOT necessary to export your finished video,  it's only necessary if you want to reuse the title in other projects.
    The Titles are photos and scrolling words, that are used together as a memoriam in different projects. So having the Titles as separate files on the HD is pretty much essential.
    That's more than just a title, which in PP usually contains only text.  For something this complex, it might be better to create a base project or template that contains all the elements you want to reuse, and then start new projects with that, renaming to a new project name immediately after opening the template.
    For example, I have an HD Wedding project that contains all my sequences, graphics and titles ready to go in organized bins.  I start by opening that project and do a Save As... using the couple's last name.  That way each new project starts with the elements I need and I don't have to recreate them all the time.

  • Keyboard short cuts functionality problems in MSS

    Hi,
    We have discovered that the keyboard short cuts does not function in the Portal (Manager Self Service) when setting up SAP R/3 transactions Iviews. I.e. in R/3 its possible to use "Ctrlshiftarrow-down" to select multiple entries in an table (program: approval of time recordings in cats). After having implemented the transaction iview we don't have this functionality anymore. Does anyone know what functions?
    Regards Jeppe Jensen

    Just to clarify - you want keyboard shortcuts to the menu?
    If so, I'm assuming you have JMenus containing JMenuItems - using the method
    JMenuItem.setMnemonic(char c);will enable a shortcut.
    Example:
    JMenuItem menuItem = new JMenuItem("this is a menu item");
    menuItem.setMnemonic('t');This will set the shortcut to be 't'.

  • Can't use down key because it opens automator. Does any one know how to disable this short cut?

    Everytime I press down on down key it opens automator. It doesn't let me delete the app. I don't know what to do, it is very frustating to fill in a chart when I can't use the down key. Does any one know how to disable this short cut?

    Are you talking about the Down Arrow key? To my knowledge there is no way to use that key as a shortcut for anything. But look in the Keyboard section of System Preferences and the Keyboard shortcut tab.

  • Macbook pro keeps cutting out then wont turn on for a while then when it does same thing happens! Does any1 have any idea what the problem is?

    Macbook pro keeps cutting out then wont turn on for a while then when it does same thing happens! Happens with charger plugged in or not and green charge light stays on even when it cuts out and cant be turned on! Does any1 have any idea what the problem is?

    Try SMC and PRAM resets:
    http://support.apple.com/kb/HT3964
    http://support.apple.com/kb/ht1379
    Ciao.

  • Make a 1-Click short cut for Adobe Acrobat 9 Pro specific function

    How can I make a 1-Click short cut for Adobe Acrobat 9 Pro for the function "Create" > "PDF from Scanner" > "Black & White Document"?

    How can I make a 1-Click short cut for Adobe Acrobat 9 Pro for the function "Create" > "PDF from Scanner" > "Black & White Document"?

  • Does anyone knows how can I get a thorough guide (not the "short-cut" one) to OS X Lion?

    Does anyone knows how can I get a thorough guide (not the "short-cut" one) to OS X Lion?

    Try Amazon.com. Look for The Missing Manual for Lion.

Maybe you are looking for