Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Prop:AcceptAll -- Double Loop in forms 1997-11-12 -- Rob Keathley If I understand correctly the problem is that the code in the embeds gets executed a
second time after you press the OK button. This will happen if code is put in the
embeds for a control. The reason this happens is that after the ok button is pressed the
program goes into the AcceptAll (a/k/a Non-Stop) loop and processes all the code in
the embeds again (thus ensuring that all embeds are executed at least once). To avoid
this put an if around your code in the Accepted embed that looks like this:
IF NOT FormWindow{Prop:AcceptAll}
Your Code
END
This will keep the code from happening again in the accept loop.
Today is November 21, 2024, 6:27 am This article has been viewed 35243 times.
|
|