07-24-2013 12:24 PM
Hello all
I am trying to program additional right click menu options in VIEW but as far as I know, each time I use the AddUserCommandToEvent Command and add it to View.Events.OnShowingContextMenu or View.Events.OnContextMenuPointSelected the settings are only saved in the current view layout. Thus if I load a new layout, the settings are wiped and I have to re-add them. Is there any way around this that anyone knows of? Thanks
07-29-2013 08:06 PM
Hi ben,
Try not using the "AddUserCommandToEvent()" command. Instead make a direct and exclusive assignment, like this:
View.Events.OnShowingContextMenu = "NameOfUserCommand"
If you want to have this assignement persist between DIAdem launches, then save the Desktop.DDD file.
Brad Turpin
DIAdem Product Support Engineer
National Instruments