Board index » delphi » Runtime created TClientSocket OnError event not firing.
Erik Beijer
![]() Delphi Developer |
Sat, 12 Mar 2005 23:06:50 GMT
Runtime created TClientSocket OnError event not firing.Hello all, I have created a form with an attached thread, containing a dynamically created TClientSocket. The nescessary code I used is as follows: Code in the calling Form: procedure TClientForm.FormCreate(Sender: TObject); Code in the Thread itself: procedure TClientThread.Execute; All seems to work fine. The Connect and Disconnect events are fired correctly but the OnError event doesn't fire OR the procedure attached to the event doesn't work. Am i missing a point here or is this just a weird error. Any help on this matter would be great! remove the .nospam to mail me directly. Thanks. |