LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong Setting through function SetActiveCursor( ) ;

 I am using fn SetActiveCursor() ;to set the active cursor at a specific location ,say x=10 and y=1; on a graph control . But the placing of active cursor is wrong every time . After using setActiveCursor() I write GetActiveCursor() and see xvalue to be 14.3245 and y value to be .732 . Pls tell me where is the problem and how to solve and set the cursor to the proper position ?
 
Regards
Subrata
0 Kudos
Message 1 of 2
(3,044 Views)

SetActiveGraphCursor activates the desired cursor on the graph control. SetGraphCursor sets the position of the cursor on the diagram. Actual position of the graph cursor may depend on the graph mode, whether it is in free form or snap-to-point mode: may this attribute be left in snap-to-point mode? This attribute can be set to free form by SetCursorAttribute (panelHandle, control, cursorNumber, ATTR_CURSOR_MODE, VAL_FREE_FORM);



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(3,040 Views)