Delayed PostEvent

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Rinzwind
Enthusiast
Enthusiast
Posts: 638
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Delayed PostEvent

Post by Rinzwind »

It would be nice if the PostEvent procedure had a 'delay firing' parameter that specified the ms to wait before actually posting the event (without blocking main thread).
User avatar
mk-soft
Always Here
Always Here
Posts: 5406
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Delayed PostEvent

Post by mk-soft »

You can build it yourself using threads.

Example: https://www.purebasic.fr/german/viewtop ... =8&t=31528
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply