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
 LabTalk Forum
 VerticalCursor in Labtalk
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

aplotnikov

Germany
162 Posts

Posted - 03/17/2017 :  07:05:38 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): Pro 8.6 SR6 b99 64-bit
Operating System: Win 7 Pro SP1

Hello,

is it possible to implement "vertical cursor" - i.e., moveable vertical line which can be dragged along the x-axis like in VerticalCursor-gadget - by Labtalk features (doToolbox with PointProc, draw -l(m), etc.)? The aforesaid gadget is very powerful, but I need a much simpler version with no dialog in PointProc. Any simple OriginC implementation is also welcome.

I would appreciate for any helpful hint.

Regards,

Alexei

yuki_wu

896 Posts

Posted - 03/19/2017 :  11:52:54 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Let me take a simple example which you can improve as you desired:
1. Add a line object in your graph;
2. Right click to select Properties...;
3. Go to Programming tab, select Moved in Script Run After item;
4. Type “type -a $(this.X)” in the edit box;
5. Click OK button.


After that, you will see the X value of this line every time you move it. Note that the dialog above is opened in Origin 2017, you may need to find the corresponding item in Origin 8.6 by yourself.

Regards,
Yuki
OriginLab
Go to Top of Page

aplotnikov

Germany
162 Posts

Posted - 03/20/2017 :  04:39:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Yuki,

thank you very much for the idea. It works perfectly.

Best regards,

Alexei
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