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
 Create user buttons via LT or OC

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
srmcarneir Posted - 09/20/2004 : 09:29:21 AM
Origin Version: 7.0552 (B552) - OriginPro 7 SR4
Operating System: Win2k/WinXP

Hi,

Is that possible to configure/customize the user button groups
and also add user buttons to the Origin toolbar,
automatically via LabTalk script or OriginC routines?

Thanks to All in advance,

Ricardo Carneiro
1   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 09/20/2004 : 12:51:27 PM
Hi Ricardo,

Creating, opening, closing (etc.) user-defined toolbars is done with LT's system.toolbar object. One useful but undocumented method is

system.toolbar.createcategory("filename.ini");

which creates a button category from an existing toolbar INI file. Settings (scripts, image order, etc.) for user-defined button categories can be modified with the INI object but the changes won't take effect until you restart Origin.

Origin toolbar settings are stored in the registry so it's not easy to add buttons to the system toolbars programmatically. Although Origin 7 can access to the registry through Origin C the toolbar registry section is rather complicated and I wouldn't want to mess with it.

Mike Buess
Origin WebRing Member

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