[quote=299130:@Greg O’Lone]
Then all you’d need to do in the run event is:
If ubound(DataQueue) = -1 then
self.sleep(1000,false)
Continue
End if
[/quote]
Never thought of using continue in this context. I couldn’t find a reference in the documentation either by the way…
http://developer.xojo.com/continue
http://developer.xojo.com/if-then-else