06-24-2010 07:31 AM
Hi everybody,
I would like to control the attributes of cursors by clicking on a boolean button. For instance: when I click on my button, I want the cursor to disappear or change color ...
How can I do this ? I saw that I can select cursor style, cursor color etc. in the property node of the XYgraph but I don't know how to use it.
Any idea ?
Best regards
MartinO.
Solved! Go to Solution.
06-24-2010 07:39 AM
Hi,
By cursor, do you mean the windows cursor or the XYgraph cursor?
06-24-2010 07:39 AM
You first need to identify your active cursor then you can set the cursor visible property with your Boolean control. So create a property node, drag to show two properties, set the first to ActCrsr ans wire the cursor number to it (0 for the first cursor). Now select Cursor.Visible for the second property and wire your Boolean to this. You can add other properties after this.
Ian
06-24-2010 07:51 AM
like this? ..
06-24-2010 08:47 AM
Thank you guys,
It's exactly what I want. But I still have another problem with Cursor.visible. The condition to make my cursor visible is "True" and for "False" there is nothing, but I want to hide my cursor first. So I guess I have to put something on the "False" condition ...
06-24-2010 09:56 AM
It's Ok ! thanks