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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 VerticalCursor in Labtalk

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
aplotnikov Posted - 03/17/2017 : 07:05:38 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
aplotnikov Posted - 03/20/2017 : 04:39:58 AM
Hi Yuki,

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

Best regards,

Alexei
yuki_wu Posted - 03/19/2017 : 11:52:54 PM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000