08-05-2013 11:22 AM
Hello,
I'm trying to make a Xcontrol vertical graph. I would like the graph to automatically set the "Active Palette Tool" to the Pan Tool if the user press the CTRL key.
To do that, I planned to use a invoke node that I'll call when the user press the CTRL Key. My problem is that inside the invoke node code, the reference to my graph gets invalid for some reason. I did set the reference (hold in the "Display State Cluster") when the "Exec State Change Event" is triggered.
The problem is that the value is not hold in memory afterward. I really don't know where it get lost.
I've looked at some example and the seem to do it the same way but with much better success. What I'm I doing wrong?
Simplified code attached...
Thanks in advance for your help.
Vincent
Solved! Go to Solution.
08-05-2013 05:07 PM
If you change anything in the Display State control within the facade VI you need to set the "State Changed?" boolean in the Action cluster to TRUE.
I've fixed this in your example.
08-05-2013 05:14 PM
Thank you very much!!