• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 568
  • Last Modified:

Turn MadExcept Bug Report On and Off at Runtime

Hi Experts;

Can the Email Bug Report function be turned On or Off in the MadExcept Component at runtime?

Thanks,
Jim H.
0
visionetv
Asked:
visionetv
  • 3
1 Solution
 
JaccoCommented:
Hi Jim,

On madshi's website I found this

http://help.madshi.net/MESettings.htm

You should be able to set if the "Email Bug Report" button using

MESettings.SendBtnVisible := False;

MESettings.SendBtnVisible := True;

(I don't know in which unit the function MESettings is defined, might be MESettings.pas

You can alse diable madExcept entirely using the procedure

procedure PauseMadExcept (pause: boolean = true);

PauseMadExcept(True);

Regards Jacco
0
 
visionetvAuthor Commented:
Hi Jacco;

Thanks for the information, I'll look over the Help section. I have the exception handler running in the background so its transparent to the user, hiding the Email button may not accomplish what I want since the user is unaware of the exception handler's presence.

If the user reports a problem I want them to be able to turn the MadExcept reporting function on to assist in debugging the individual program.

Regards,
Jim H.
0
 
JaccoCommented:
Then you might use the "PauseMadExcept" I mentioned?

In what way do you use madExcept exactly?

Regards Jacco
0
 
JaccoCommented:
I think I gave the answer.

The PauseMadExcept should do what visionetv wants. Pitty he didn't return so I could help him further.

Jacco
0
 
VenabiliCommented:
I was really wondering on this one... Not quite sure that this had solved the issue... Although you can be right
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now