` Avoiding the "double loop" (John Singer ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

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, 8:04 am
This article has been viewed 35201 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: