ThreadID Property
Returns the Win32 ID of the thread on which the object was called.
_VFP.ThreadID
Remarks
Applies To: Application Object | _VFP
You can use this property especially during debugging. For instance, you can use it to compare the threadID of a received call with the threadID of the object receiving the call.