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
 tool is open

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
gilles wat Posted - 12/17/2001 : 12:02:17 PM
I would like to be able to identify if a tool ( eg baseline, layer..)is open. Any idea?
5   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 12/19/2001 : 12:22:45 PM
Thanks Laurie! That's useful information.

Mike Buess
Origin WebRing Member
Laurie Posted - 12/19/2001 : 10:05:57 AM
Yes, using dialog.status(DLLName,DialogName) is the way to go. If the dialog is open you'll get a return value of 0.

The DLLName for Origin tools is Tools. The DialogNames are as follows:

Linear Fit Tool --> LR
Polynomial Fit Tool --> PR
Sigmoidal Fit Tool --> SR
Pick Peaks Tool --> PickPeaks
Baseline Tool --> Baseline
Smooth Tool --> Smooth
Layer Tool --> LayerTool
FFT Tool --> FFTTool

For example,

status=dialog.status(Tools,PickPeaks);

Laurie

OriginLab Technical Support
Mike Buess Posted - 12/18/2001 : 5:55:36 PM
I believe that most of Origin 6.1's tools were created with Dialog Builder, in which case dialog.status(DLLName,DialogName) should work. (See Chapter 2.3 of your OriginPro Manual.) Unfortunately, I don't know how to find DLLName or DialogName for dialogs created by someone else (i.e., OriginLab). Sounds like a question for OriginLab's technical support team. (tech@originlab.com)

Mike Buess
Origin WebRing Member
gilles wat Posted - 12/18/2001 : 05:14:46 AM
I am using Origin 6.1 pro
Mike Buess Posted - 12/17/2001 : 3:21:49 PM
Which version of Origin are you using?

Mike Buess
Origin WebRing Member

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