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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Easy/Good way to start C-functions?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ahuemm

Germany
Posts

Posted - 11/18/2005 :  11:06:32 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Dear forum,

Currently I'm looking for a clean way to give the users the possibility to start
C-functions. At the moment I use a graph with a button that starts the data import.
When all the data is imported, there are some worksheets but still the graph I "abused"
to get the button.

How can this be done in a better way?

Cheers Armin

Origin Version (Select Help-->About Origin): 7.5G SR5
Operating System: w2k

easwar

USA
1965 Posts

Posted - 11/18/2005 :  11:21:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Armin,

You could instead create a custom toolbar with button(s) that then call the Origin C function. The button can have script code that even loads and compiles the function and then calls it, if necessary.

Please see the Programming Help file and the topic
Programming Guide->User-Interface Development
and then the topic "Toolbar Buttons" for example.

Please post if you have specific questions.

You can also see various tools on our File Exchange website that OriginLab and other power users have uploaded that may serve as examples:
http://www.originlab.com/fileexchange/index.aspx

Easwar
Originlab


Edited by - easwar on 11/18/2005 11:22:09 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000