Bug or Feature? Array Custom Contextual Menu Destroys "Delete" and "Insert" Element!

Step to Reproduce:
- Create an Array (doesn't matter of what type).
- Ctrl-M (to switch to Run Mode)
- Notice that:
       - when you Right-Click on the Array borders, you have access to an "Empty Array" menu item among other things
       - when you Right-Click in an Array element, you have access to an "Insert Element Before" and a "Delete Element" menu item among other things
- Now switch back to Edit Mode and modify the contextual menu in the following way:
        - Advanced>>Run-Time Shortcut Menu>>Edit...
        - Edit>>Copy Entire Menu
        - Switch to "Custom" menu (instead of "Default"): the menu disappears and is replaced by a single ??? item
        - Edit>>Paste: The default menu reappears with the ??? on top
        - Create you favorite custom menu item by editing the ??? item (say: Do Nothing)
- Save the menu with the control and switch to Run Mode (Ctrl-M).
- Now try the first 3 steps above: wherever you right-click, you have access to the Custom Menu, but the Array Element contextual menu is GONE.
In other words, you cannot (it seems) define a custom contextual menu for an array without destroying the default contextual menu for its elements.
Therefore, if you want to preserve the ability to Insert and Delete Elements in an array, you have to add these two items to the Array contextual menu and juggle with the position of the right-click to figure out whether or not to display them...

Well, I created in LabVIEW 2012 such a control and added part of the default menu in the way you described with copy-paste as a submenu to an Edit entry in my custom menu and it did not disappear:
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • How do I create a 1d array that takes a single calculation and insert the result into the first row and then the next calculation the next time the loop passes that point and puts the results in thsecond row and so on until the loop is exited.

    The attached file is work inprogress, with some dummy data sp that I can test it out without having to connect to equipment.
    The second tab is the one that I am having the problem with. the output array from the replace element appears to be starting at the index position of 1 rather than 0 but that is ok it is still show that the new data is placed in incrementing element locations. However the main array that I am trying to build that is suppose to take each new calculation and place it in the next index(row) does not ap
    pear to be working or at least I am not getting any indication on the inidcator.
    Basically what I am attempting to do is is gather some pulses from adevice for a minute, place the results for a calculation, so that it displays then do the same again the next minute, but put these result in the next row and so on until the specifiied time has expired and the loop exits. I need to have all results displayed and keep building the array(display until, the end of the test)Eventually I will have to include a min max section that displays the min and max values calculated, but that should be easy with the min max function.Actually I thought this should have been easy but, I gues I can not see the forest through the trees. Can any one help to slear this up for me.
    Attachments:
    regulation_tester_7_loops.vi ‏244 KB

    I didn't really have time to dig in and understand your program in depth,
    but I have a few tips for you that might things a bit easier:
    - You use local variables excessively which really complicates things. Try
    not to use them and it will make your life easier.
    - If you flowchart the design (very similar to a dataflow diagram, keep in
    mind!) you want to gather data, calculate a value from that data, store the
    calculation in an array, and loop while the time is in a certain range. So
    theres really not much need for a sequence as long as you get rid of the
    local variables (sequences also complicate things)
    - You loop again if timepassed+1 is still less than some constant. Rather
    than messing with locals it seems so much easier to use a shiftregister (if
    absolutely necessary) or in this case base it upon the number of iterations
    of the loop. In this case it looks like "time passed" is the same thing as
    the number of loop iterations, but I didn't check closely. There's an i
    terminal in your whileloop to read for the number of iterations.
    - After having simplified your design by eliminating unnecessary sequence
    and local variables, you should be able to draw out the labview diagram.
    Don't try to use the "insert into array" vis since theres no need. Each
    iteration of your loop calculates a number which goes into the next position
    of the array right? Pass your result outside the loop, and enable indexing
    on the terminal so Labview automatically generates the array for you. If
    your calculation is a function of previous data, then use a shift register
    to keep previous values around.
    I wish you luck. Post again if you have any questions. Without a more
    detailed understanding of your task at hand it's kind of hard to post actual
    code suggestions for you.
    -joey
    "nelsons" wrote in message
    news:[email protected]...
    > how do I create a 1d array that takes a single calculation and insert
    > the result into the first row and then the next calculation the next
    > time the loop passes that point and puts the results in thsecond row
    > and so on until the loop is exited.
    >
    > The attached file is work inprogress, with some dummy data sp that I
    > can test it out without having to connect to equipment.
    > The second tab is the one that I am having the problem with. the
    > output array from the replace element appears to be starting at the
    > index position of 1 rather than 0 but that is ok it is still show that
    > the new data is placed in incrementing element locations. However the
    > main array that I am trying to build that is suppose to take each new
    > calculation and place it in the next index(row) does not appear to be
    > working or at least I am not getting any indication on the inidcator.
    >
    > Basically what I am attempting to do is is gather some pulses from
    > adevice for a minute, place the results for a calculation, so that it
    > displays then do the same again the next minute, but put these result
    > in the next row and so on until the specifiied time has expired and
    > the loop exits. I need to have all results displayed and keep building
    > the array(display until, the end of the test)Eventually I will have to
    > include a min max section that displays the min and max values
    > calculated, but that should be easy with the min max function.Actually
    > I thought this should have been easy but, I gues I can not see the
    > forest through the trees. Can any one help to slear this up for me.

  • Bug or feature: TableView.EditEvent - same type for value and row?

    Just noticed (normally I don't care overly much about generics, they are my natural enemies : -) that the return type for both cell and row data is the same:
    class EditEvent<T> {
        T getNewValue()
        T getOldValue()
        T getRowValue()
    }old/new value is fine, but typically the row has another type, which most probably is completely unrelated, as f.i. in
    TableView<Person> tableView = new TableView<Person>(persons);
    TableColumn<String> firstName = new TableColumn<String>("First Name");
    firstName.setProperty("firstName");
    EventHandler<EditEvent<String>> nameEditHandler = new EventHandler<TableView.EditEvent<String>>() {
                @Override
                public void handle(TableView.EditEvent<String> e) {
    // compile error
                    Person p = (Person)e.getRowValue();
                    String newValue = (String)e.getNewValue();
                    p.setFirstName(newValue);
    firstNameCol.setOnEditCommit(nameEditHandler);The compile error is due to the event requiring the same type for row and cell. Obviously, can remove all type parameters - but how to solve cleanly without getting unchecked/rawtype warnings?
    Thanks
    Jeanette

    Good morning, Jonathan (my day time : -)
    If you mean that big issue where you threaten (and locally actually already did) to remove all the niceties of auto-magic column binding via setting property names - yeah, I've read it, partly unhappily. But that's another story.
    to create two separate EditEvents - one for row edits and one for cell edits.
    hmm .. have been expecting something along the lines of
    EditEvent<R, C> {
         R getRowValue();
         C getOldValue();
         C getNewValue();
    // used in
    TableView<R>
    TableColumn<C>
    // for row edits
    R == C
    getRowValue() == getOldValue()Musing a bit longer, the event could be streamlined a bit - remove all the convenience sugar: the receiver has to know the exact details of grabbing the data anyway in order to be able to change it (in the current workflow, it's not necessarily the way to go) so old/row is redundant
    EditEvent<S> {
       <S> getEditValue();
    }Cheers
    Jeanette

  • Spacing of Spry Menu submenu items, and inserting background images

    Hiya, need a bit of help, could someone possibly guide me with this?
    I've created a Spry Menu in DW CS5 - so far, so good.. However I'm pretty new to CSS Styles so need pointers at what to change to get the result I need. I've created the spry menu, however the submenu dropdown items are not flush to the ones above, theres a 1px horz gap between each item and while it looks okay, its particularly visible in Firefox and Chrome and would prefer no spacing at all..
    The live site is at http://www.ebm.co.uk/2011site/indexnavbar2.html
    if you take a look at the drop down menu bar you'll see what i mean - what do I need to do to remove the spacing?
    I also want to replace the solid colour with images, where do I specify the images for 1) top menu item 2) submenu item and 3) 'hover' item, and do I need to make any areas transparent?
    Any advice would be much appreciated.. thanks!
    Chris

    This is a good place to start http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php.
    Also this might help http://labs.adobe.com/technologies/spry/samples/menubar/CenteringHorizontalMenuBarSample.h tml
    Gramps

  • Apply custom repeat formatting, column deletion, and sorts?

    I download a .csv sales report file weekly.  Is there a way to create and apply a pre-determined/custom formatting, deletion of columns, and "sorts?"
    The .csv data contains the same fields/headers on each week.  Then every week I go through and delete the columns that I don't need and sort the data on the same criteria.  Is there a way to save these steps and apply them with each new report I open?
    It would be the equivant in Photoshop, of "recording" "actions" and "playing" them on opened files.

    There is no way to rtecord actions but if you describe exactly what you need, I may try to write a script doing the trick.
    The most efficient scheme would be to send to my mailbox an exemple of the csv file (ten rows would be sufficient) and the Numbers document which you want to get starting from this source.
    Click my blue name to get my address.
    Yvan KOENIG (VALLAURIS, France) mercredi 24 août 2011 21:29:19
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Contextual menu

    Is there anyway to make the contextual menu item "search in google" give the result in a new tab/or window?
    Dual 2 ghz G5   Mac OS X (10.4.8)  

    I am using several add-ons to Safari.
    Safari Extender offers many tab related features via the contextual menu, including "Search in a new tab". This includes access to a number of search engines, including Google, Yahoo, Wikipedia and MSN.
    [url=http://www.pozytron.com/acidsearch[AcidSearch[/url] is a great alternative to the standard Google, offering access to many search engines. Here, if I highlight text, then right click, a contextual menu item appears. If I hold down the "command (apple)" key, the Acid Search option changes to "Acid Search new tab".
    If you decide to try Acid Search, post back if you need direction about its installation. The site also has guidance about how to install the plug-in.

  • "Toast It" wont go from contextual menu

    I have completely removed the app and then removed the toastit plugin from various Library/contextual menu items folders on my system (at root and user level), yet the toast it menu item simply won't budge. i have rebooted my machine several times.
    please advice…
    Neerav

    Hi, thanks for your reply.
    I dont even remember the version. the apple service center installed it when they were checking my super drive. i just deleted the crap to trash.
    the reason i posted here is because i googled before and realized that a plugin needs to be removed from the 'contextual menu items' folder. and it stays there even after doing that.
    Neerav

  • Dictionary Contextual Menu Bug from within Preview or Skim

    Seems like there is a bug with the way 10.5 handles pdf's and the contextual dictionary menu item. Highlighting a word and selecting the 'Lookup in Dictionary' contextual menu item seems to be unreliable at best. Most of the time, this feature refuses to work in either Preview.app or Skim. Any ideas? BTW i currently use Dictionary with both the standard Oxford dictionary and Wikipedia functions.

    The "Mail Document" option in preview works fine for me...dunno what the problem could be, but perhaps if you removed the preferences file for preview from your "~/Library/Preferences/" folder, that might help resolve it. Faulty preferences files are causing folks a lot of application misbehaviors.

  • Contextual menu bug

    I think Leopard is full of bugs. Here is something I've tried to figure out without any luck and is hoping that someone have an intelligent answer for this.
    This is the problem; when I e.g. right click an .html file and choose "open with" many of the apps are listed with several versions. And the really weird part is that it is not consistently. The contextual menu is different from each .html file. This problem goes for a lot of different file types. If anyone bother to have look at some pictures to see what I'm talking about, their here: http://home.no.net/pixelmix/htmlopenwith01.jpg. It's four pictures so just change the 01 to 02, etc.. By the way, I'm using a Norwegian edition of Leopard.
    To save you all some time: I do not have several versions installed of the apps in subject.
    So, that's that. Anyone with a clever mind out there? I would really appreciate an answer.
    Thanks!

    You can clean up the "open with" menu by running the following command in the terminal:
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
    All old application versions will disappear from the "open with" menu.

  • Bug Report: 10.1 Missing item in a contextual menu

    Logic Pro X 10.1
    Mixer Window > right click on channel strip to open context menu > Channel Strip Components > the list is missing an entry for "Midi effects".

    Yes, I can see what you're saying, and no, it makes more sense this way. Example: an audio-only project. See what happens when an instrument track is added.
    And the "it's global" argument is not valid imho. It's a contextual menu. That context is: wherever the mousepointer is when rightclicking.
    After adding a Software Instrument track:

  • Custom tuning menu, menu bar, and contextual menu transparency levels?

    I'm not talking about simply toggling menu bar transparency (which you can already do in 10.5.5 using System Preferences), but I'd like having the chance to tune transparency level for different objects.
    Is there any way to tune:
    1) menu
    2) menu bar
    3) contextual menu
    transparency level?
    (possibly individually for each of the three categories)
    This would be cool.

    You can't - all the template navigation menus are not made to be changed.
    If you want anything different, then you need to open the Inspector and go to Page and then check the box where it says 'hide navigation menu' and then you can build your own text based menu by using text boxes or shapes etc. and then use hyperlink to link to your pages. In this way you have full control over colour and placement.
    The template navigation menus were not made to be changed.

  • BUG Cannot clear output log with menu mnemonic key in JDev 10.1.2.1

    JDev 10.1.2.1 build 1913
    Windows XP Professional SP2
    Open the output log.
    Right click in log window to show the contextual menu.
    The "Clear" action has 'r' underlined, but if you press 'r', then nothing happens.

    Sorry for the late reply John and Frank. Ya i did. Thank you.
    One more detail:
    I tested the behavior in Jdeveloper 11.1.2.0.0. The recent surprise is Select One Choice is behaving perfectly when it used in Grid layout and fail to work when it is form layout. I am getting surprised why behavior of component varies based on the way it refers the binding.
    for form layout,
    value=#{bindings.
    for grid layout,
    value=#{row.bindings.
    The bug details (#/title) are Bug 12968871 - RUNTIME CONVERSION FAILURE WHEN USING CUSTOM DOMAIN OBJECT VALIDATION IN EO
    Edited by: Raguraman on Sep 12, 2011 8:23 PM
    Edited by: Raguraman on Sep 12, 2011 8:31 PM

  • Folders on Desktop - Bug or Feature???

    A lot of times I will make a folder on the corner of my desktop that is exposed behind programs, but since upgrading to Leopard, everytime I make a folder, it is sucked behind the windows, requiring me to hide my programs to view the desktop and re-drag it to the side of the screen.
    I don't have any auto arrange on and can't figure out why it is doing this. Any suggestions?

    I had been noticing this "slide" of new folders also. Used to be you click on the Desktop, select New Folder from the Contextual Menu, and the new folder would pop into existence at the point you clicked, unless you had some auto arrange thing specified. So I just now tried clicking at random points all over the Desktop and create a new folder. It always always slid away from point I had click to some other point. How far it slid and in which direction appears rather random, although there does seem to be a strong tendency to slide to the left and slightly up, moving about 30 to 40 pixels away from where you clicked. Indeed, if you watch closely you'll see that its initial position is where you click, and then it moves away. Seems to be a bug, and it seems to be related to the newly introduced feature (a most welcome one) of being able to adjust the grid spacing in icon view. When I brought up "Show View Options" and moved the grid slider from the default largest to smallest, and then created new folders they still slid away from the origin point, but they slid away a much smaller distance--if the average slide at the widest grid is given as a 3, the average slide at the smallest grid would be a 1.
    Francine--who obviously has too much time on her hands
    Francine
    Schwieder

  • Drag File From Safari Download Window to Other Volume - Moves not Copies File - Bug or Feature ?

    Hi,
    Appreciate comment on what I thought was unusual Mac OS behavior.  Running Safari 5.1.5, OS 10.6.8.
    Mac OSs in my experience copy a file when it is dragged and dropped to another volume/drive. (Let's leave classic desktop out of this.)
    It may be the first time I've ever done it in any version of Safari, but just dragged a file directly from the Safari Downloads panel onto another drive's icon - and it appeared to "move" the file from its original download destination to the other drive and not simply copy it onto the other drive.
    Didn't look like a copy and standard Finder delete since I didn't see file in the trash, although it was gone from the finder window for the download folder (Desktop in my prefs), and afterwards Safari Download Window magnifying glass icon "can’t show the file “filename” in the Finder because “filename” has moved since you downloaded it." It's reproducible.
    Assuming it's not unique to my configuration, is this a bug or "feature" ?
    Thanks.

    HI,
    From the Safari Menu Bar click Safari/Preferences then select the General tab.
    You can deselect: Open "safe" files after downloading.
    Carolyn

  • Bug list/feature observations for BB10 on Z10

    BUG LIST/FEATURE OBSERVATIONS - Z10/BB10:
    1. CRITICAL granular control of notifcations/alerts e.g. a different sound/volume/vibration per mailbox or alert type has been completely removed in BB10 and needs to be reinstated as an urgency
    2. support for BBM and Calendar in Landscape mode is missing. A workaround for BBM can be found via the Hub, not the BBM icon.
    3. the sound alert for a text message sometimes doesn't play. It seems to vibrate okay, but every 5th or so text message, it doesn't play the alert sound.
    4. CRITICAL if you set the display format for your emails to 'conversation style' (so that messages on the same thread are grouped - very helpful) but a folder which one of the messages is in isn't synced, then fresh inbox replies to that chain won't get shown to you in the Hub. It transpires that /GOOGLEMAIL/SENT ITEMS is a sub folder that's affected by this. It means any chain you reply to using your Blackberry, subsequent replies will not be displayed in the Hub. "Solution" is to disable 'conversation style' for thread display.
    5. WhatsApp, Bloomberg Mobile (not the terminal login App) and BeBuzz should be top App conversion targets.
    6. when you click the Text Messages icon it should take you to your text messages, not the Hub (which is what happens if you have an email open).
    7. the lock screen currently has just one icon for emails - ALL emails, regardless of mailbox. It has a fairly generic number for unread messages in ALL of the boxes combined e.g. "200 emails" - this needs to be split our per mailbox.
    8. opening a tenth App closes a previously opened App. It should ask you before closing the other App as it's a pain if the App it kills is Skype, Voice, Maps etc
    9. the current battery icon is too small to tell the difference between 30% and 15% (for example) - touching it should display the %, or something similar.
    10. the screen rotation can be extremely slow. Often you can count 1.. 2.. 3.. 4 before the screen switches orientation. Given how often you'll switch between orientations during use, it quickly gets annoying. 
    11. when the screen finally rotates (see point 10) the position your cursor was in in the previous orientation is lost
    12. it's not quick to put a question/exclamation mark into text. Fine, have a sub menu for general punctuation - but not these extremely common marks (which is exactly why comma and full-stop (period) are full-time keys)
    13. the super-useful "delete from device OR delete from device & server" has been removed entirely!
    14. using the browser in Landscape mode means "open in new tab" is in a sub-menu. As it's one of the most used features in any browser, and unlike Apple iOS you can't just hold a press to activate 'open in new tab', it really slows you down.
    15. sometimes numbers are included in the on-screen keyboard, sometimes not. Can they be made permanent?
    16. twice now my 'enter password to unlock' screen has appeared without the keyboard, meaning I couldn't enter my password. About 2 times out of 200, or 1%
    17. new messages - have some small icons in the status bar at the top of the screen rather than require a swipe UP&RIGHT to see the Hub
    18. in the Hub, the icons for each message don't show if the message was successfully sent. To check if an email/text was sent okay, you have to go into the message (2 levels)
    19. you STILL can't see when a text message you received was actually sent by the other party. Quite a basic function.
    20. you STILL can't swap email accounts when forwarding a message
    21. Calendar reminders often don't trigger the red LED. In fact, the LED is generally pretty inconsistent, often not flashing, or flashing only for a short while.
    22. the device supplied ring tones/alert tones are pretty terrible and you cannot set variable volume levels (see point 1).
    23. you can select .mid files for your ringtone even though these aren't compatible (when someone calls, your phone will be silent).
    24. there's an awkward 3 second pause between clicking Send and a text message actually sending. Why awkward? Because you then have to wait/waste 3 seconds waiting to see if your click was registered, and if the message was sent.
    25. GMAIL - boring standard message in the Inbox, no labels or anything funky - Universal Search won't find it if it's more than 1 WEEK old?
    26. The power-user controls for Universal Search seem to have vanished? Indexing, Extended Search etc? All you can choose now is "source"?
    27. Weird one this. The phone stopped ringing! Checked and double-checked all Notification settings, even did a reboot but nope, phone will not ring for an incoming call! A fresh reboot finally fixed it - I was using a 206kb mp3 which may or may not be relevant
    28. I'd love to know why G Maps is missing (assume aggressive move from Google?)
    29. it's sometimes tricky to clear Missed Calls. I think you might have to go into the Missed Calls menu and then sub menu? Seems to be more effort than it should be - previously you just clicked the Dial button once to view and presto, missed call indicator cleared. Hardly a huge thing but then as with a lot on this list, it's all about saving a second here, a second there = a big saving over the day or week.
    30. Contentious I know, and certainly not a 'fault', but the charging points are gone so I can't get a desktop stand (ironic given the battery life is now more of an issue)
    31. when composing a text message you'd don't see the conversation history for that contact until you've sent the new message.
    Thanks
    edit: numbering

    CRITICAL:  You cant control the image size for pictures when sending as attachemtns in email. In previous Os 6 & 7 you could select, "smaller, mide size, large or original". These options are gone.

Maybe you are looking for

  • Open Field in ALV Report

    Hi all, i have to develop a ALV report. In that report i have to put a open quantity column , so that the user can enter values in that, and that value should get updated in the database. So please suggest me how to develop such report with open fiel

  • How can i display the values in the vector in a jsp using jstl

    in a task i am recieving a vector in a jsp... how can i display those vector values in the jsp using jstl.... plz help me thanks in advance

  • How to do a voice over for video?

    I am using the Adobe CS4 Production Premium suit to produce my first training video. I need to go back and do voice overs to clean up the audio. I am looking for the ideal setup to do this. I am new to the whole video production arena, so these quest

  • Show Organization in Expanded view by default -- Oracle Waveset

    Hi, I am using Oracle Waveset. In Account List page, when we click on the ' Triangular Image' to expand org then it shows all the users under the org. Is it possible that by default, it gives expanded view. Please help me on this? Thanks, NC

  • CFMail not sending

    I have a form that has two pages: the form itself, and an action page. The form consists of text boxes, radio buttons, and a place to attach a document. On the action page I have used cffile to save the file to the server, which it does correctly, an