Hello Veit, Normally the components handles their own exception by design (as it should be). Be sure you have no exceptions in events. If there is a chance that your code can raise an exception then you should have that event into an try excpet block and handle it.
--- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Thursday, January 25, 2007, 17:04, Veit Zimmermann wrote: > Hi > May be I'm missing something, but... > How can I catch an exception raised by an asynchronous function like > TnCnx.Connect in a form. In a TApplication there is a Method for this > (HandleException). Is there something similar for a TForm? > TIA > Veit -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be