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
 Adding an Apply Button to GetNBox
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

additive

Germany
109 Posts

Posted - 04/01/2009 :  2:29:06 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8 SR4
Operating System: WIN XP

UsingGetNMacrosWithApply.c does not work anymore.
I cannot see any Apply button.
Am I missing something? Thanks for your help!

-Michael

Iris_Bai

China
Posts

Posted - 04/02/2009 :  06:19:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Michael,

Sorry, we changed GetNBox prototype but not updated example codes. Please change from

if( GetNBox(tr, "Using GetN Macros", "This is a GetN dialog with an Apply button", ApplyOnClick) )


to

if( GetNBox(tr, NULL, "Using GetN Macros", "This is a GetN dialog with an Apply button", NULL, true, ApplyOnClick) )


Iris
Go to Top of Page

additive

Germany
109 Posts

Posted - 04/14/2009 :  6:50:34 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by Iris_Bai

if( GetNBox(tr, NULL, "Using GetN Macros", "This is a GetN dialog with an Apply button", NULL, true, ApplyOnClick) )




I'm sorry but I cannot get this to work properly. Compiler says that it cannot find such a GetNBox. You could you please help me with a complete example?

Thanks a lot!
Michael
Go to Top of Page

Echo_Chu

China
Posts

Posted - 06/03/2009 :  04:59:40 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Michael

The change is only available in SR5. You can update your Origin to SR5 by downloading the patch from our website.

http://www.originlab.com/index.aspx?s=9&lm=340

Echo
OriginLab Corp
Go to Top of Page

Sophy

China
Posts

Posted - 06/03/2009 :  06:11:12 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Michael:

For how to add Apply button in GetNBox in SR5, please refer to http://ocwiki.originlab.com/index.php?title=OriginC:Adding_an_Apply_Button
Go to Top of Page

additive

Germany
109 Posts

Posted - 06/23/2009 :  11:38:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you! I will try it as soon as I dare to update!
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