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
 Origin Forum
 turning themes off.

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
Matt Posted - 06/07/2006 : 5:33:15 PM
Hello,

I reinstalled Origin (7.5 pro) and am trying to get back to my favorite environment.

I have a button that plots data to a SCATTER graph (which I have modified to my own uses). However, I get a "theme" graph when I use the button now-overriding my settings.

In the help file there is this instruction.

1. Make a graph using your custom template.
2. Open the Script Window or the Code Builder IDE and issue one of the following commands:

PAGE.CNTRL=16; //LabTalk command issued in the Script Window
LabTalk.Page.Cntrl = 16; //Origin C command issued from Code Builder

3. Re-save the graph template.

When I try step 2, I get the following,
LABTALK.PAGE.CNTRL is an illegal name for defining a variable. It must not start with a number, nor an operator and may not contain a dot.
#Command Error!

How can I make it so that my graph appears the way I want it? Having spent a lot of time in previous versions of Origin, I made up a number of templates--basically setting up my own "theme" before it was a feature. I'd rather use my own method than re-learn.

Matt

3   L A T E S T    R E P L I E S    (Newest First)
Matt Posted - 06/21/2006 : 2:11:23 PM
quote:


PAGE.CNTRL=16;



Oops, I should have read which command was for the script window...

Thanks a lot for the help.

Matt
Deanna Posted - 06/09/2006 : 05:17:53 AM
Hi, Matt. I am sorry that the reinstallation caused some inconvenience.

I tried the method you found in the help file, and found that it should be able to restore the templates back to your favorate style.

Here is the procedure:
1) Plot a scatter plot.
2) Customize the plot setting so that it looks the way you want.
3) Open the Script Window and issue the following commands:
PAGE.CNTRL=16;
4) Right-click on the graph window title bar, and choose "Save template".

Then, even if the default system theme is changed, it will not affect the graph I plot with the template.

As for the error you have encountered, I guess you are typing
LabTalk.Page.Cntrl = 16;
in the LabTalk Console in the Code builder. Actually, such command cannot be used in LabTalk Console. It need to be written in a Origin C function and compiled. Why don't we take a simple way? I think you can use the Script Window, where you can issue the command directly.


Deanna
OriginLab GZ Office

Edited by - Deanna on 06/09/2006 05:23:01 AM
Matt Posted - 06/07/2006 : 8:16:39 PM
In the end, I don't know if it is a theme or if Origin is just looking for the "scatter" template in the incorrect place. I.e. I have a separate directory for my templates, so Origin could be picking the default template.

Matt

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