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
 LabTalk Forum
 UIM object creating
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

panowski

Poland
5 Posts

Posted - 01/30/2001 :  1:52:10 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,
I have a simple question to all who can help me. This question is:
How to create UIM object in Origin 5 without the system menu (closing x-box)?

greg

USA
1380 Posts

Posted - 01/30/2001 :  5:05:48 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can not make a UIM Tool without the Close option. An alternative is to create your tools in an empty worksheet window and then set the PAGE.CLOSEBITS property to 1. The Close option will still be available, but will not work and will generate a warning message. Additionally, if PAGE.SYSWIN is set to 1 for this window, then it will persist across projects.

Go to Top of Page

panowski

Poland
5 Posts

Posted - 01/31/2001 :  06:30:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks Greg,
but next problem is why macro EndOpen (in macros.cnf file) does not work.
My problem is that I'd like to open a template at any time and any way I start Origin. If I start it from Start Menu the macro autoexec works but when I open by doublclicking *.opj or any other origin document the macro EndOpen is inactive.
What should I do?

Go to Top of Page

greg

USA
1380 Posts

Posted - 01/31/2001 :  3:32:51 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The EndOpen macro (normally left undefined in MACROS.CNF) has very limited use. Specifically, it 'fires' if:

  • It is defined in MACROS.CNF

    (Be sure to remove the enclosing comments.)
  • Origin's Command Line (or Target in Shortcut parlance) specifies a project file to open.

Once Origin starts, that macro is no longer used. You should consider two other macros:

DocBegin (Defined in ORGSYS.CNF)

and

AutoExec (Defined in MACROS.CNF)

Autoexec will run if you start Origin without any project or select File:New Project. DocBegin will run whenever you open a project either within Origin or by double-clicking on an OPJ in Explorer or dragging an OPJ from Explorer to a running Origin with no project open.

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