Disable/Enable madExcept runtime!
-
- Posts: 7
- Joined: Thu Apr 28, 2005 11:55 am
Disable/Enable madExcept runtime!
Hello,
Can I disable/enable madExcept runtime?
Thanks.
Can I disable/enable madExcept runtime?
Thanks.
-
- Posts: 7
- Joined: Thu Apr 28, 2005 11:55 am
Can you show me some of that FastReport code for which you want to disable madExcept?
You could do this:
You could do this:
Code: Select all
try
SomeFastReportCode;
except
// do your own stuff here
// madExcept will not show up, if you handle exceptions yourself
// in a try..except block
end;
-
- Posts: 7
- Joined: Thu Apr 28, 2005 11:55 am
Does this do what you need?
Code: Select all
try
Form113.frxReport1.ShowReport( True );
except
on E: Exception do
MessageBox(0, pchar(E.Message), 'Error', MB_ICONERROR);
end;