I'm currently recoding an old app, because it was too ugly for me..=)
Now i am unsure if where events would fire....
If i create a tthread descendant like this...
TMyThread = Class(TThread)
fMyComp : TMyComponent;
Procedure SomeSillyEvent(Sender: TObject);
CreateMyComponent; //P-Code, it just does it.
fMyComp.MyTriggerEvent := SomeSillyEvent;
Suspended := FALSE;
While Not Terminated do
Where would the trigger event run ?
Inside the thread or inside the thread that called the TMyThread.Create; ?
Hoping for a speedy response.. =)