Xojo.Threading.Thread.CurrentThread
From Xojo Documentation
Shared Method
The currently running thread.
Sample Code
Sleep the current thread for half a second:
Thread.CurrentThread.Sleep(500)
The currently running thread.
Sleep the current thread for half a second: