|
Post by Steffan on Nov 13, 2003 9:07:40 GMT -5
Hi, I still have problems do not let the default raise error come up when I use CancelTheOperation when the User clicks my cancel button and I called CancelTheOperation. The following code allways shows the "EUserCanceled.Create(LoadStr(IDS_CANCELOPERATION))"-Stuff try ZipComponent.zip; except on EUserCanceled do _Nothing .... What am I doing wrong?
|
|
|
Post by Kevin on Nov 13, 2003 12:31:20 GMT -5
Offhand I'm not sure what you might be doing wrong. The VCLZip Zip Utility Example catches the EUserCanceled exception and just shows a message to an information window.
Are you saying that you are getting an Exception Dialog even when you are catching the exception?
Kevin
|
|
|
Post by Steffan on Nov 13, 2003 12:56:36 GMT -5
Hm, now it works fine. Maybe my code was a little bit wrong or it was caused by the Delphi Debugger. Whatever, it works now The secrets of programming...
|
|