08-01-2012 08:06 AM
Hi all,
Scenario
I have a graph with 2 cursors say Cur_1 and Cur_2. Cur_1 can have any Y value and Cur_2 has a Y value that is "Num" less than the Cur_1 Y value where "Num" can be any number.
Example, If Cur_1 = 50 and Num = 10, Then Cur_2 = 40
When ever Cur_1 is moved, Cur_2 is programmatically moved accordingly. Cur_2 can be moved independently but its Y value cannot be greater than Cur_1 Y value.
Problem
Now the problem is when the value of "Num" is "0" then both Cur_1 and Cur_2 are overlaid. In such cases, i am not being able to move the lower cursor unless I move the upper cursor. And in my code as I expained above, Cur_2 has to move relative to the Cur_1 when ever Cur_1 is moved. So Even if i think of moving the upper cursor (Cur_1) and then move the lower one, it is not possible as the lower cursor has to automatically move according to the Cur_1 movement.
I would be glad if anyone can help me with any kind of suggestions.
Thanks and Regards,
Nitz
(P.S. - Sorry for such a long description. I don't have a code to share with you all. So I had to expain it this way.)
Solved! Go to Solution.
08-01-2012 08:26 AM
Didnt totally follow but you should look at cursor events (move, grab....) and cursors can be then manipulated via property nodes.
08-01-2012 08:55 AM
Hi
How about a numeric control to enter Y. That way you could move the 2nd cursor from underneath the 1st one.
Regards
Florian
08-01-2012 11:52 PM
Hi Florian,
Numeric control is something which would prefer if there's no other solution. I wanted to grab the lower cursor somehow when both the cursors are overlaid.
Hi Falkpl,
I tried all the events and properties, couldn't find a proper way of doing it. 😞
Any help?
Thanks and Regards,
Nitz
08-02-2012 12:47 AM
Why don't you have a check box to make the cursor 1 and 2 Visible so that you can access only the cursor you want?
08-28-2012 04:37 AM
Hi Anand,
Making the cursor visible or invisible wont disable it.. It will still be enabled causing the below cursor not to move. I didn't get a specific solution. So I had to go ahead with a work around. I have attached it here.. You may have a look if you wish.. 🙂
Regards,
Nitz