Click with the right button on a XyPointAnnotation to a popup menu

Hi all,

Does anyone know how to implement a right click on a XyPointAnnotation to pop-up a menu? This is not one of the default event.

Thanks in advance,

CD

In fact, I thought to myself. For those who are interested, here is the code in VB.net.

  Private Sub gr_PlotAreaMouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles gr.PlotAreaMouseDown
    Dim ann As NationalInstruments.UI.XYPointAnnotation = gr.GetAnnotationAt(e.X, e.Y)
    If Not IsNothing(ann) Then
      ContextMenuStrip1.Show(sender, e.X, e.Y)
    End If
  End Sub

Tags: NI Software

Similar Questions

  • When I click with the right button of the mouse on videos from facebook it shows no options for me to copy the link and etc.

    When I click with the right button of the mouse on videos from facebook it shows no options for me to copy the link and etc. It only shows the parameters for the flash player. How can I fix?

    You can find the URL of the thumbnail by following these steps:
    In the context menu, choose {inspect element}.
    Now, you can see the URL in the source down (perhaps you click the small arrow to the left of the line of seledted firstly to show).

  • By clicking with the right button on something, I accidentally stuck the pictures on a website - I want them back, but may not know how to do

    By clicking with the right button on something, I accidentally blocked the photos to a Web site - want their return but may not know how to do

    This has happened

    Don't know how many times

    == I right click on the images of block a site or something like that.

    Check the image exceptions: Tools > Options > content: Load Images: Exceptions - see the web content, pop-ups, fonts and language settings

    A way to see what images are blocked is to click on the favicon (Site ID icon) on the left side of the address bar and click the button "additional information".
    This will open the Security tab of the window of the Information Page (also accessible via Tools > Page Info).
    Go to the Media of this Page Info window tab.
    Select the first image and scroll though the list with the arrow pointing downwards.
    If an image in the list is grayed out and there is a check mark in the box of block Images of... remove this brand in order to unlock the images from this area.

    See also the problems that cause to not show images and http://kb.mozillazine.org/Images_or_animations_do_not_load

  • Click with the right button on failure

    Im trying to run programs as administrator.when I click with the right button on the laptop keys or mouse nothing happens.no list, nothing.like its been completely disabled. IM the only user and admin. The only changes ive done what anyone recently had to add ad blockers/cookie self destruct in the browser and customize the start menu... I took the children by clicking on the wallpaper, but do not know if one who has nothing to do with the problem.im not a user too experienced if there is no simple solution out there, then they would be greatly appreciated...  Thank you *.

    Sorry for the words... I left out by pressing the touchpad keys and went with a right-click to cover the two pad and mouse.i wouldn't seem redundant or on foot. the problem is now resolved, although I feel stupid.apparently children jumped a square card of DELL on the out front (do not know what as for) but looks like a giant SD card. When I found it and put back in, the right click function has started working again... Thanks for all the replies... tho im still learn and have no doubt that I'll be here again questions...

  • I have a click with the right button on a web page and apparently active a 'node '. Now I have dimming and a long bar of 'Inspector options' above the status bar. How to remove?

    There is a long line of displays at the bottom of the screen of Firefox, all start with "div # ' or 'iframe.rr' or 'html' or 'body' - on the far right is a rectangular box with the word 'Style' and an 'x' next to it. The x will not close this bar even though it says 'Inspector close.'

    On the far left of the annoying chain is a gear/sprocket icon which is for 'options of the Inspector' which, when clicked, offers 'darken the node' or 'display information node '. I don't want a 'node' or even know what it is. I would like to just this bar at bottom of the page Firefox have disappeared.

    There should be a close X on the far right in the Inspector bar close the Inspector bar.

    See also Firefox/tools > Web Developer > inspect

    If you can not close the bar, then try to close and restart Firefox.

  • error message "Windows Explorer has encountered a problem and needs to close" on click with the right button in my computer

    I had this problem for awhile now.  After I receive and send the error report my computer is blocked and I have to finish by WTM. I tried to start in safe mode and it was ok there and when I restarted in normal mode it was ok for the rest of the day, but when I put the computer today the problem reappeared. Dr. Watson is also sometimes with an error message.

    I am running XP with MS and updates.

    Would appreciate some advice.

    Chris

    When the Windows Explorer (not Internet Explorer) is wrong (especially when right click), begin to suspect third-party add-ons explore extension.

    Those who would be the Explorer extensions that do not belong to Microsoft.  This means that extensions that you have added.  Solution Explorer extensions are generally well and installation of certain applications will install extensions from Explorer solutions for you, give you a choice and sometimes they can be added without your knowledge when you install the new software.

    Solution Explorer extensions are sometimes added as a new right-click option, you see on folders and files (like the scan of this file, open that file, play this song...).

    If there is something in particular that you do during exploration that you know will be the cause of the problem, which will help focus on the problem and the help that you suddenly know, when you have found and corrected.  If you can get there when you want it, make an adjustment and then there is no message the next time you don't do anything, you do, you have found and corrected.

    First of all you need a way to see what modules explore you have installed now and a way to turn them off (not uninstall them) so you can understand that we are at the origin of the problem.  You can have a lot of extensions not installed Microsoft don't even know you about.

    Download ShellExView here to see what Explorer extensions you have loaded:

    http://www.NirSoft.NET/utils/shexview.html

    ShellExView does not install anything on your computer, simply of runs and displays.

    After launching ShellExView, under Options, choose "Mark non-Microsoft Extensions" and extensions not Microsoft will be pink, clear, but on some systems which is a difficult color to see, so click on display, choose the columns and move the column Microsoft closer to the top, so you can see on your screen without having to scroll left and right.

    Click on the column header for Microsoft sort display (by clicking on the column of Microsoft) then all the non Microsoft extensions are on top and easy to see.

    Non-Microsoft extensions would be things you have added (non-Microsoft) and are what you should be suspect.

    You can also Google the name of a suspect add-on and see if there is any success on the mistakes of the DEP and what other people have done about it.
    You can Google something like:

    Explorer XP crashing (you must fill in the name of add your suspect on.)

    See what kind of search results hits you get and are looking for solutions or situations that sound like yours.

    I'm not a defender of trial and error, but I can't think of another way to do...

    Right click and disable the non Microsoft extensions one at a time (or maybe in groups of 3-5 at a time), keep a list, so you can enable them again later if you wish. The result of the change is immediate and no reboot is necessary.  Test your failure condition.  If the Explorer starts to behave, you will know that an extension of this group of 3-5 is the culprit in order to start to enable them one by one until the Explorer fails again.

    If you recognize all the extensions that have been added or recently downloaded, start with these first.

    Don't forget - disabling the extension does not uninstall the extension - it is just disabled so you can always turn it on again.  In this way, you can switch back and forth, enabled to be sure, you have the right extension under control.

    Disable them one at a time until your right click on do not generate an error, then restart and test again to make sure the changes 'stick '.  You have disabled the last extension would be suspicious.

    You can also just disable all non-Microsoft extensions, restart and allow them one at a time until you find the one that generates the condition.

    If you have a large number of extensions, you can disable them is small groups, 3-5 at a time instead of 1 at a time until your system starts to behave.  When it does not, you will know that the problem is one of the extensions of this small group and you can enable members of the Group at a time until the problem returns, then the problem is with the last extension that you enabled.

    The hope is that you will find an extension that caused the error, and then you can figure out what on this subject - either uninstall it or see if you can get an update of the author of the extension of their web page.

    I have not your problem, but I can when you toggle extensions, the extension is immediately disabled, so disable an extension does not seem to require a restart, but if you think that you have found the problem, I reboot and repeat the test in any case to be sure the problem disappeared.

    If you post your non-Microsoft extensions list, maybe someone will recognize it as a potential problem.

    If you find the offending extension that's the problem, please let us know what it is that I can add to my list.

  • When click with the right button on the icons, explorer.exe crashes XP

    When I right click on the icons to make anything, explorer.exe crashes.  How can I fix it?

    Hi MikePenick,

    In addition to advice of Ajay, I recommend also run a full scan with your antivirus.

  • Recycle Bin, click with the right button on Menu

    Hi, is anyway that you can get rid of the option 'Remove' in the right click menu of the Recycle Bin options? This seems to have been removed in Windows 7. I keep accidentally hitting Delete instead of vacuum.

    Hi, is anyway that you can get rid of the option 'Remove' in the right click menu of the Recycle Bin options? This seems to have been removed in Windows 7. I keep accidentally hitting Delete instead of vacuum.

    How to hide the command delete from the Recycle Bin:
    http://www.Winhelponline.com/articles/142/1/how-to-hide-the-delete-command-from-Recycle-Bin-context-menu-in-Windows-Vista.html

    Note: the tutorial above but does not remove them with something else, just delete in the context menu.

    t-4-2

  • Windows 7. cannot access the menu widget to click with the right button on the desktop / gadgets

    Hoping that someone can help or has had a similar problem.

    I just bought a new PC with windows 7, get used to gadgets and was dubious about downloading msn no cert apps/gadgets...

    yesterday I downloaded a facebook gadget that worked well at first, but today there dissapeared.couldnt give a s * 1 t on the app
    but its stopped me access my gadgets list via a right click on the desktop background and selection gadgets... nothing happens, so I guess that its facebook app, I installed. If all goes well, there is a fix for this

    any help would be appreciated... ive been using xp so I havnt had the negative acknowledgement of this gadget stuff yet.

    Thanks :)

    For any question on Windows 7:

    http://social.answers.Microsoft.com/forums/en-us/category/Windows7

    Link above is Windows 7 Forum for questions on Windows 7.

    Windows 7 questions should be directed to the it.

    You are in the Vista Forums.

    See you soon.

    Mick Murphy - Microsoft partner

  • Click with the right button on dialog question

    When you right click on a file, you see a dialog box that contains the things that you can do with it. Back at the turn of the century when we had win 98 and XP, these dialog boxes have been stored on the computer and you can rearrange or delete the entries. This feature is available in Windows 7 and how I would access it?

    When you right click on a file, you see a dialog box that contains the things that you can do with it. Back at the turn of the century when we had win 98 and XP, these dialog boxes have been stored on the computer and you can rearrange or delete the entries. This feature is available in Windows 7 and how I would access it?

    http://www.thewindowsclub.com/remove-click-context-menu-items-editors

    This must be what you are looking for. I assume you mean from the popup menu.

    I'm not sure of their reorganization, but you can remove and Add.

    If you want to add something about them coming to ask me what you want there I'd be happy to try to help. Here is move/copy to adding folder at the bottom of the screen you can see more options

    http://www.SevenForums.com/tutorials/516-context-menu-add-copy-folder-move-folder.html

    Please mark as answer if it helped.

  • Click with the right button on a feature in Captivate 4

    Hi all

    I not too excited soon when I saw the "Right click" option in the box click Properties?

    I published my file with AS2 and AS3, I tested my files on a web server (so not locally). In both cases I get the Flash right click menu.

    I made that ban has been activated (as proposed by Adobe in the box pop up).

    Is this what I need to do that I'm not aware of?

    Cheers, Helga

    Hello

    Before publishing you should uncheck the accessibility option.

    You can do it:

    Preferences dialog-> project-> publication parameters: checkbox activate accessibility. Uncheck a dre - publish.

    Manish

    http://blogs.Adobe.com/Captivate

  • remap keys on the keyboard - click with the right button on key

    Hello

    How to remap the keys?  My Dell E6400 isn't the 'right key click' cos it's stupidly designed.

    [I want to remap the] key is the key of the right click.

    Is there a safe way to do this?

    Thank you

    Hello

    There are 3rd party apps that help you to remap the keys. You can use the preferred search engine to get one of these.

    WARNING of THIRD PARTY SOFTWARE: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Diana
    Microsoft Answers Support Engineer

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • When I click with the right button on the desktop and select 'New', I did not have the option 'folder '. Where at - it go?

    I have no way to create a new folder now.  A new fkolder does not appear even if I click on "new folder."  That's happened?  I had the opportunity to create a new folder until a few months ago, but I don't know what I did or what happened to the 'Record' option disappear from the 'New' when you right click on the desktop.

    You have installed chrome? It's looking like a recent update of chromium may be the cause. Here are two patches.

    How to remove and restore the default context Menu items 'New' in Windows 7 and Windows 8
    http://www.SevenForums.com/tutorials/28677-new-context-menu-remove-restore-default-menu-items.html

    If still no joy, see the 'response' by Linda Yan in this thread.
    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/thread/97de8a2a-12f2-4381-A409-a78f4ae551cf/#99395761-56de-4a76-8C2A-eab498ad735a

    Tip: When you save the text in Notepad, the default file format is .txt. Replace all files.

  • Impossible to click with the right button on the main Page - Adobe Muse CC

    How access Properties Page update of metadata when right-click on the Master Page does not work in Adobe Muse CC?

    It should work, but you can also go to the menu bar and click on 'Properties of the Page/Page' a GUI box will come to the top, click on the link to metadata at the top.

  • Click with the right button on a feature in Captivate 5.5

    Hi all

    I'm working on Captivate 5.5

    I have a few slides when the right Click functionality is required.

    I have unchecked function him "enable accessibility" of the prefrences.

    Still I don't get the right-click function after the publication of the file in HTML format.

    I tried on several browsers.

    Help, please.

    I have a sample file to share.

    If you test this published file folder on your hard disk or LAN network, make right click is not working the reason most likely is that you have not set your security settings Global Flash have confidence in the current published folder location.

    Have you tested your publication to a web server file?  It is a good idea because web servers require a Flash of global to implement security.

Maybe you are looking for