Add new field programatcally

delphi package - automated exception handling
Post Reply
ZSL
Posts: 54
Joined: Thu Mar 31, 2016 11:23 pm

Add new field programatcally

Post by ZSL »

madExcept 4.0.14

I do not pop up any madExcept notifications or user input. The exceptions are sent in the background.

How do I add programatically add extra fields to the bug list report?

TIA
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Add new field programatcally

Post by madshi »

The bottom of this page explains how to remove something from the bug report header:

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

In the same way you can also add information there.
ZSL
Posts: 54
Joined: Thu Mar 31, 2016 11:23 pm

Re: Add new field programatcally

Post by ZSL »

Thank you.

I did see that link before I posted.

Where should that be set to be and automatic global trigger? In the DPR or somewhere else?

TIA
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Add new field programatcally

Post by madshi »

Doing it in some unit's initialization (as the example on the help page I linked to does) should make it global. You can also call RegisterExceptionHandler at the start of your DPR's "begin .. end" block instead, if you prefer that. Either one is fine.
Post Reply