08-22-2010 06:46 AM
Hi all
I have a simple question. How can i use the single GRAPH as an Indicator type or a Control type by means of a boolean switch?
Such that
1) if i use it as an indicator then the Cursor automatically go to the calculated x and y coordinates
2) If i use it as a control then the cursor should go wherever i want to drag it.
Thanks
08-22-2010 01:12 PM
Basically the item si simple: use SetCtrlAttribute (panelHandle, controlID, ATTR_CTRL_MODE, VAL_INDICATOR) to turn the graph as indicator, use VAL_HOT to use it as a control.
If in indicator mode, you can set cursor position by menas of SetGraphCursor command.