On Saturday 17 October 2009 00:06:27 Vincent Snijders wrote: > SteveG schreef: > > Would anybody know if it is possible to tell if a function has been > > called from the Main (GUI) thread, or a 'child' thread ? > > (determined within the function being called) > > Yes, that is possible. Compare GetCurrentThreadID with MainThreadID. > > Vincent
Excellent - Thanks Vincent -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
