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
 Close button in GETN BOX
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kineticesp

Colombia
12 Posts

Posted - 10/28/2008 :  11:41:55 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi, I have my program written in OriginC and the GETN BOX works just fine but I would like to add a condition to not run the code if the cancel button is pressed. Right now if one clicks on Cancel the program runs with the default values. Thanks

Iris_Bai

China
Posts

Posted - 10/29/2008 :  06:12:38 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please check the return value of GetNBox function like:

	if( GetNBox( tr ))
	{
		// enter here if click OK button	
	}


Iris
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