[fpc-pascal] TThread.OnTerminate ?
fredvs
fiens at hotmail.com
Sun Mar 19 12:52:53 CET 2017
Oops, I did not see your answer.
Thanks Michael.
My original bug was that I did:
MyThread = class(TThread)
...
procedure OnTerminate ;
...
It was not working, of course because OnTerminate is a procedure of object:
procedure OnTerminate(sender: Tobject); ---> This solve all.
Fre;D
-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/TThread-OnTerminate-tp5727888p5727909.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list