Hi,
I am updating a number of VIs written in 7.1 to 8.2 (I always seem to be a few years behind). Anyway, now that the cursor legend has changed (for much the worse as far as I can tell) I have a problem I hope someone can help with. I have code that looks for arrow keypresses and moves the cursors around based on that. The problem is that the cursor legends are like tree controls now, and they always "drop down" when I update the cursor location programmatically. So if I have a two line legend for two cursors, the second cursor information drops out of view. Is there any way to shut off the tree control? Since these are single plot cursors, I'm not sure what the purpose of having the drop down is anyway. Short of that, is there a way to force them to close back up?
In case I'm doing something wrong, I should note that the programmatic changes (writing to WFGraph property cursor.index) make this happen, while dragging the cursors with the mouse or using the cursor mover don't.
And while I'm at it, a slightly related question: I capture right mouse clicks on the graph in order to pop-up a custom menu (with information calculated from the cursor position). Of course, this prevents right clicks going to the cursor legend. Is there an easy way to know when the right click is in the cursor legend so I can not discard it?
Thanks in advance for your help,
Eric