Michael Schnell schrieb:
In fact the help for any LCL and RTL function should say how it can be used regarding threads.
Currently it's sufficient to know that the LCL is not threadsafe.
It is known that any function that accesses the GUI can only be called by the main thread.
That's one of the reasons, and since virtual methods and event handlers can be used almost everywhere, almost no method or property can ever be documented as being threadsafe.
DoDi -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
