Paradox Community

Items in pnews.paradox-programming

Subject:Re: Animation code
Date:Sat, 30 May 2020 22:00:18 +1000
From:Leslie <"ViaThe List"@NOSPAM.com>
Newsgroups:pnews.paradox-programming
Sleep() does a yield I believe

On 30/05/2020 3:50 AM, Kevin Zawicki wrote:
> The Paradox timer is not precise.
>
> Put sleep() in your loops, that might help.
>
>
> Leslie <"ViaThe List"@NOSPAM.com> wrote:
>> You need to yield so the message loop can process messages or create a
>> thread.
>>
>> If you use a copy function that allows you to specify a callback
>> function you can then pump messages. This will also prevent the "This
>> application is not responding" scenario.
>>
>>
>> On 29/05/2020 7:59 PM, Kevin Baker wrote:
>>> In getting this animation added to a test form where I'm copying
>>> everything in Folder A to Folder B, the animation starts and stops as
>>> the copying is running (ie if there is a large db, the animation stops
>>> until the copy is finished).
>>>
>>> Is the common?
>>
>> --
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus
>>
>

-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


Copyright © 2004 thedbcommunity.com