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
 Developing Script GUIs

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
lunchpack Posted - 01/23/2015 : 02:48:36 AM
Origin Ver. 9.0 and Service Release SR0 (Select Help-->About Origin):
Operating System: Win8 x64

Hi,
does anyone know if it is possible to create his own GUIs in origin? Something like the button edit mode, but more advanced? What I want to do is create a control panel with different radio buttons, some space to view and change variables and some buttons to execute script files. So, basically, I want to create a Panel that looks a lot like that one (this is an Origin Panel that pops up when you plot a Matrix in 2D with slices...)

https://dl.dropboxusercontent.com/u/9963379/OriginGUI.PNG

So, is there any possibility to do that?

The only alternative I found so far for interactive scripts is asking the user for input by calling getn. For complex stuff, thats not really practical, though. And it's terribly confusing.

Thanks a lot and best regards,
lunchpack
5   L A T E S T    R E P L I E S    (Newest First)
lkb0221 Posted - 01/29/2015 : 10:02:05 AM
Hi, Lunchpack

What do you mean by "scaleable"?
Notice that those UIMs are also floating objects on the graph layer, so you can save the graph/layout window as a template for later use.
You can also put those UIMs outside the graph page, which means you can arrange them nicely in the gray area of the graph window, and save it as template.

Zheng
OriginLab
lunchpack Posted - 01/29/2015 : 12:29:55 AM
Hi cdrozdowski111,

thanks for the GETM hint in Origin C. This does help a lot.
I'm still trying to get it all done using the UIM buttons, but it's a bit of a mess to be honest. I'd really love to have a neat and clean panels where I could put all the controls. When I use an empty graph window, however, I can't use listboxes and comboboxes (as they are not scaleable). It's a pity, that Origin doesn't have dedicated windows for that, that would make it just perfect.
cdrozdowski111 Posted - 01/24/2015 : 10:33:16 AM
If you do find you need something more than UIM, I would proffer that, before you delve into Dialog Builder, you at least take a look at the GETN functionality built into Origin C ( http://www.originlab.com/doc/OriginC/guide/GetN-Dialog ).

Building dialogs with Dialog Builder requires that you acquire, install, and learn the basics of Visual C++ (Visual Studio) to create the dialog itself and then use Origin C to code the logic.

GETN allows you skip VC++, letting you focus on the Origin C code. Since you have to write Origin C code either way, why make your life more complicated?
lunchpack Posted - 01/23/2015 : 7:22:43 PM
Thanks, snow, for pointing out the documentation on the UIM module. I will have a look into it and I think the UIM will probably be sufficient for my needs.
The alternative thing I've found is the Origin Developer Kit, but that seems a little bit oversized for what I need to do.

Best regards, lunchpack
snowli Posted - 01/23/2015 : 10:52:36 AM
Hello,

We do have UIM toolbar to easily add controls, e.g. buttons, radios, checkboxes, edit boxes, etc. and script to execute behind them. Before Origin 2015 sr1, it was only for OriginPro. Since Origin 2015 sr1, it's available for Origin users as well.

You can check Help: About Origin to see if you have OriginPro or Origin.

Here is a quick help link for it
http://www.originlab.jp/doc/Quick-Help/UIM-editing-programming

Here is document for it.
http://cloud.originlab.com/pdfs/UIM_Manual.pdf

Also, choose File: Open... Under Samples\UIM\ folder, there is an UIM.opj as an example.


Thanks, Snow
OriginLab Corp.

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