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 |