` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please 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!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Avoiding the "double loop"
1999-05-12 -- John Singer
 
I think the following works, (off the top of my head!): In the TakeAccepted embed, before Top Of Cycle, add source: if QuickWindow{PROP:AcceptAll} then Return(FALSE) By putting this statement here, you don't have to put one in every single accept method of every field. It checks it before it hits the loop. Then in the OK accepted embed add: QuickWindow{PROP:AcceptAll} = TRUE Then under certain conditions, that are listed in the docs that I can't remember right now, Prop:AcceptAll is reset automatically to False.


Today is November 21, 2024, 6:33 am
This article has been viewed 35200 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: