Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Macrosii
20
Years of Service
User Offline
Joined: 31st Mar 2004
Location: Essex, UK
Posted: 31st Mar 2004 16:03
Hi

Completely new to DBPro.

I was wondering if there is an equiv of VBs DoEvents, or a way to implement it.

Thanks
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 31st Mar 2004 16:29 Edited at: 31st Mar 2004 16:29
It does the equivalent of DoEvents() by default. If you want to "switch it off", you use FASTSYNC instead of SYNC.

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
Macrosii
20
Years of Service
User Offline
Joined: 31st Mar 2004
Location: Essex, UK
Posted: 31st Mar 2004 17:03
Do you know how often the windows message que is checked? From your answer I assume it's checked on all SYNC updates.

Thanks
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 31st Mar 2004 18:52
Quote: " Do you know how often the windows message que is checked"


It's checked a lot more than it needs to be. I might be wrong but it think it is checked every cycle of a loop except with for/next loops.

see,
http://developer.thegamecreators.com/?m=forum_view&t=26633&b=15
It's also been discussed a few times in other threads I can't find.

Login to post a reply

Server time is: 2024-11-26 10:42:39
Your offset time is: 2024-11-26 10:42:39