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
 Graph in the Dialog Builder

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
kid Posted - 10/18/2001 : 10:49:44 AM
I'm trying make a Tabbed dialog with a picture frame that I want to usse to preview a graph. I did everything that's in the originpro, but when I "start" the dialog a graph is created (you can see de graph icon in the project explorer, but if I dClick in this icon origin crash and there is no graph in the picture frame. Any Ideas?

I've been looking in the manuals, but I can't find anything on any of the methods:
graph.create();
.attach();
(look in the origin pro manual page 40-42)
This are the methods that I'm to use if I want to link a graph to my dialog. Any idea on how to use them?

Alex...
1   L A T E S T    R E P L I E S    (Newest First)
Laurie Posted - 10/19/2001 : 12:00:34 PM
To display the graph on your dialog, use the following LabTalk methods:

DialogName!graph.create(TemplateName);
DialogName!GraphPlaceholderName.attach();
DialogName!GraphPlaceholderName.setRef();

When referencing this graph in your script, you need to use the following:

%A=DialogName!GraphPlaceholderName.graph$; //get name of graph
//script executed for the named window
win -oa %A { }

Remember that when you draw the Picture control...which is the GraphPlaceholder... that you add the -G switch to this caption in the String Table.

It may be more helpful to you if you email an inquiry like this to tech@originlab.com.

OriginLab Technical Support

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