05-23-2015 11:10 PM
Hello
I am using DSC module in LabVIEW 2012 and find alarm and event display AcitiveX so interesting and useful. The only problem is that I do not want the user to have the ability to change the process or filter option. Is there a way to remove these options (i.e. “Filter Options…” and “Select Processes”) from right click menu? It should be mention that I would like the user to have the ability to acknowledge the alarms and events.
Thanks in advance
05-24-2015 09:58 PM
If you create an EVENT handler for the event "Menu Activation? - user" (note the question mark), then you have a chance to intercept the event AFTER the user has clicked on the control in question, and BEFORE the menu pops up.
In that handler, you can remove items (if you know their tags), and offer your own items if needed.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
05-25-2015 02:34 AM
Thanks a lot.
Is there an example for this?
I do not know how to remove items in right click menu and offer my own items.
05-25-2015 05:47 AM - edited 05-25-2015 05:48 AM
Is there an example for this?
Yes:
I don't know anything about the "DSC module" but if YOU handle the control, then YOU can intercept the event and customize it.
Blog for (mostly LabVIEW) programmers: Tips And Tricks