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
 UIM object creating

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
panowski Posted - 01/30/2001 : 1:52:10 PM
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)?
3   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 01/31/2001 : 3:32:51 PM
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.

panowski Posted - 01/31/2001 : 06:30:57 AM
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?

greg Posted - 01/30/2001 : 5:05:48 PM
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.


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