[fpc-pascal] TThread.OnTerminate ?

fredvs fiens at hotmail.com
Sun Mar 19 14:02:23 CET 2017


> procedure OnTerminate(sender: Tobject); ---> This solve all. 

Not sure. ;-(

Hello.

It is me again.

I am loosed.

If I do :

MyThread : = class(TThread);
...
procedure OnTerminate(sender: Tobject); override;
...

There is a error message:

Error: (3058) There is no method in an ancestor class to be overridden:
"OnTerminate(TObject);"

;-(

Fre;D





-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/TThread-OnTerminate-tp5727888p5727910.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list