On Thu, 06 Mar 2008 22:31:33 -0600, Sundial Services
<info@[EMAIL PROTECTED]
> wrote:
>Sundial Services wrote:
>>"Little old sleep()" causes the Windows message queue to be
>> emptied, and by specifying an insignificant number of milliseconds'
delay,
>> we assure that the Paradox process gets re-dispatched.
>
>I guess I should clarify that ...
>
>"sleep()" by-itself will loop until the Windows message-queue at that
>particular moment in time is empty. All of the subroutine-calls that
might
>magically occur within the Windows system for all of the then-pending
>messages will therefore occur, but there's still a lot of "variability"
>that would still remain .. a large number of "well, it happened once but
I
>can't make it happen again" cases, yet to be debugged.
>
>By introducing a delay, even 10/1000 of a second, you force Paradox
>to "yield" to Windows. Before the Paradox program will start running on
>your computer-system again, Windows will have been given an /explicit/
>op****tunity to "really, once-and-for-all" dispose of any and all
"pending"
>work that might yet remain to be attended to. In other words, if that
form
>is "halfway in the middle of becoming 'open,'" by the time this
>inconsequential "delay" is finished, the form will most-likely now be
"all
>the way, really-and-for-true 'open.'"
>
>Many precious hair-follicles might thereby be saved. :-D
>
>----
>ChimneySweep(R): Fast(!) table repair at a click of the mouse!
>http://www.sundialservices.com
Hello again,
Many thanks for the suggestion (and for the detail...)
All the best,
--
Kenneth
If you email... Please remove the "SPAMLESS."


|