View Full Version : Change the Exception Dialog
viswsba
03-Oct-2005, 06:55 AM
From what i understand, it is possible to replace the Exception Dialog with my own. How do you do that?
Regards
Stefan
admin
03-Oct-2005, 08:29 AM
viswsba wrote:
> From what i understand, it is possible to replace the Exception Dialog
> with my own. How do you do that?
>
>
> Regards
>
> Stefan
Yes, you can use your own Exception dialog, simple disabling the
"Project/EurekaLog Options.../Exception Dialog/Show Exception Dialog"
option and using an ExceptionNotify event like this:
uses
ExceptionLog, ECore, ETypes; // The required units...
procedure MyNotify(ExcRecord: TEurekaExceptionRecord; var Handled:
Boolean);
begin
// Show your exception dialog here!!!
MyDialog.ShowModal;
end;
I hope to have answered to your question, otherwise don't hesitate to
recontact to me, ok? :)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.
admin
03-Oct-2005, 07:42 PM
viswsba wrote:
> From what i understand, it is possible to replace the Exception Dialog
> with my own. How do you do that?
>
>
> Regards
>
> Stefan
I'm working on a full source code, just for you.
Please to be patient! :)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.
admin
04-Oct-2005, 05:05 PM
viswsba wrote:
> From what i understand, it is possible to replace the Exception Dialog
> with my own. How do you do that?
>
>
> Regards
>
> Stefan
I'm finally here again!
I have attached a full functionally source demo capable to replace the
EurekaLog exception dialog, and a new exception dialog image.
I hope to have answered to you! ;)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.
viswsba
07-Oct-2005, 06:34 AM
viswsba wrote:
> From what i understand, it is possible to replace the Exception Dialog
> with my own. How do you do that?
>
>
> Regards
>
> Stefan
I'm finally here again!
I have attached a full functionally source demo capable to replace the
EurekaLog exception dialog, and a new exception dialog image.
I hope to have answered to you! ;)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.
Thank you for your quick and extensive answer!
I'm impressed.
//Stefan
admin
07-Oct-2005, 07:59 AM
viswsba wrote:
> admin Wrote:
>
>>viswsba wrote:
>>
>>>From what i understand, it is possible to replace the Exception
>>
>>Dialog
>>
>>>with my own. How do you do that?
>>>
>>>
>>>Regards
>>>
>>>Stefan
>>
>>I'm finally here again!
>>
>>I have attached a full functionally source demo capable to replace the
>>EurekaLog exception dialog, and a new exception dialog image.
>>
>>I hope to have answered to you! ;)
>>
>>
>>--
>>Best regards...
>>
>>Fabio Dell'Aria.
>>----------------
>>http://www.eurekalog.com
>>Catch every BUG showing line n.
>
>
>
> Thank you for your quick and extensive answer!
> I'm impressed.
>
> //Stefan
It's my job.
And I love it! ;-)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.
Steve Forbes
08-Oct-2005, 02:29 PM
Hi Fabio,
This is much appreciated, thanks for posting!
--
Best regards
Steve
> I'm finally here again!
>
> I have attached a full functionally source demo capable to replace the
> EurekaLog exception dialog, and a new exception dialog image.
>
> I hope to have answered to you! ;)
>
>
> --
> Best regards...
>
> Fabio Dell'Aria.
> ----------------
> http://www.eurekalog.com
> Catch every BUG showing line n.
>
admin
08-Oct-2005, 03:11 PM
Steve Forbes wrote:
> Hi Fabio,
>
> This is much appreciated, thanks for posting!
;)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.
Unregistered
12-May-2010, 09:44 AM
Perhaps, attached zip file is corrupted.
Could you upload again, please ?
viswsba wrote:
> From what i understand, it is possible to replace the Exception Dialog
> with my own. How do you do that?
>
>
> Regards
>
> Stefan
I'm finally here again!
I have attached a full functionally source demo capable to replace the
EurekaLog exception dialog, and a new exception dialog image.
I hope to have answered to you! ;)
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.
Alex
20-May-2010, 10:09 AM
Hi,
Sorry for the late reply.
Unfortunately, we've lost original demo, but I've created a new demo, which illustrates, how can you use custom dialogs in EurekaLog.
Just in case: I've also uploaded a demo to external storage: http://dl.dropbox.com/u/201788/Projects/CustomDialogDemo.zip
How to use demo: open it in your Delphi and enable EurekaLog for it. You're done. Compile and run it. Press "Raise exception" button and observe how custom dialog works.
What you'll find in the demo: there is a simple VCL application with 1 button, which raises exception. The main code of project doesn't have any references to EurekaLog. All you need to do to change dialog is to add unit CustomDialog.pas to uses. This unit installs event handler, which intercepts dialog's showing and replace it with custom dialog.
You can find more information about routines, which are used in this demo, in our documentation (here is online variant: http://www.eurekalog.com/docs/ ).
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.