NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Mike McLoughlin on July 31, 2009, 04:01:20 AM

Title: How to autoclose a form?
Post by: Mike McLoughlin on July 31, 2009, 04:01:20 AM
I'm using a form (with no fields) as a place to put some Clarion code.

There is a save button and I want the form to close automatically.  Usually I would put POST(event:accepted,?cancel) in the event:openwindow.

What's the equivalent in NTWS?

regards

Mike
Title: Re: How to autoclose a form?
Post by: Bruce on July 31, 2009, 07:12:25 AM
Hi Mike,

The question is wrong because what you're doing is wrong.
A form isn't a place-holder for other code. There are other procedure types for holding code, like a normal Clarion source procedure etc.

So the real question is, what is that you are trying to do - ie what is the original problem that the form was meant to save?

cheers
Bruce



Title: Re: How to autoclose a form?
Post by: Mike McLoughlin on August 01, 2009, 12:29:45 AM
OK I'll have a look at using a normal source procedure

thanks

Mike