` Printed Icetips Article

Icetips Article



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.



Printed May 3, 2024, 12:06 am
This article has been viewed/printed 35114 times.