Why clear the queue ?IMHO the better way is to check if the object exists in the main thread when called.
-.Michael -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
