| T O P I C R E V I E W |
| kid |
Posted - 06/19/2002 : 6:00:56 PM I’m building a zoom tool, for one dialog that previews a graph. I want to be able to zoom only on the x axis. For this I need to read the mouse position when the user clicks and when he lets go. I don’t think OriginC can do event detection, but in OriginPro, when you use the Screen Reader tool, there is a window that tells you the X and Y position of the mouse and it even fallows when you click and drag. How can I use this feature in OriginC or LabTalk.
Alex |
| 1 L A T E S T R E P L I E S (Newest First) |
| cpyang |
Posted - 06/19/2002 : 11:27:44 PM You are correct that the current implementation of OriginC does not support mouse event, but this can be easily done in LabTalk and you can call your Origin C function when you get these coordinates from LabTalk and pass them into your Origin C functions.
Search for PointProc on this Forum and in the Originlab website for many discussions on using the ScreenReader tool.
CP
|
|
|