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
 Origin C Dialog Building - save settings and tips
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

peter.cook

UK
356 Posts

Posted - 03/01/2005 :  06:36:01 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 SR5
Operating System: Win2000

Hi,

Having fun trying to set up dialogs using Origin C ... slowly getting there.

2 question sif anyone can help thanks?

1) How do I save and retrieve settings via the .ops file

2) How do I add tool tips to my controls?

Thanks,

Cheers,

Pete

hajo

Germany
Posts

Posted - 03/04/2005 :  3:19:31 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello, Pete

quote:
1) How do I save and retrieve settings via the .ops file


I use a tree, that I directly export to an XML file by the Tree.Save() and Tree.Read() methods (hope the names are right ...)

quote:
2) How do I add tool tips to my controls?

There's a method called "SetToolTip()" (also, hope I got the name right ...)

But thats a starting point to have a look at the OriginC hepl files ...

So far
Hajo

--
Dipl.-Ing. Hans-Joerg Koch
SiemensVDO Automotive,
Regensburg, Germany
Go to Top of Page

peter.cook

UK
356 Posts

Posted - 03/09/2005 :  08:00:40 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for replying to this Hajo!

I appreciate the assist!

I managed to incorporate the saving and reading Tree / XML file.

Cheers,

pete

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