The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Mouse events on OriginC
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kid

USA
20 Posts

Posted - 06/19/2002 :  6:00:56 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Im 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 dont 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

cpyang

USA
1406 Posts

Posted - 06/19/2002 :  11:27:44 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000