PDA

View Full Version : What happened to : CurrentEurekaLogOptions.ShowExceptionDialog


redsnapper
10-Nov-2005, 10:40 AM
What happened to this option. We do not use any Eureka log dialog, but use it to gather the necessary info and send it to us.
We used the option above the disable the exception dialog in V4, but I can't find the option again or a replacement in V5??

regards
Paul

admin
10-Nov-2005, 11:09 AM
redsnapper wrote:
> What happened to this option. We do not use any Eureka log dialog, but
> use it to gather the necessary info and send it to us.
> We used the option above the disable the exception dialog in V4, but I
> can't find the option again or a replacement in V5??
>
> regards
> Paul

It has been replaced by the new
ExceptionDialogOptions.edoShowExceptionDialog type.

So now you should use something like the following code:

//------------------------------------------------------

uses
ExceptionLog, ETypes, ECore; // The required units.

begin
with CurrentEurekaLogOptions do
begin
// To show the Exception Dialog...
ExceptionDialogOptions := ExceptionDialogOptions +
[edoShowExceptionDialog];

// To hide the Exception Dialog...
ExceptionDialogOptions := ExceptionDialogOptions -
[edoShowExceptionDialog];
end;
end;

//------------------------------------------------------


See the following link for all the 4.5.x/5.0.x changes:

http://www.eurekalog.com/docs/index.html?old4_5_xversion.html

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.