DX Seattle form design component exception "Unknown"

delphi package - automated exception handling
Post Reply
daves
Posts: 2
Joined: Wed Oct 07, 2015 12:49 pm

DX Seattle form design component exception "Unknown"

Post by daves »

Hi. I have madExcept installed in DX Seattle. Create a new VCL Forms Application. Add two TLabels. Rename Label2 to Label1 (should give error "A component named Label1 already exists"). Get bds error "Unknown". Without madExcept the message is fine.

madExcept dialog appears on Details. Call stack shows error in TComponent.ValidateRename on line raise EComponentError.CreateResFmt(@SDuplicateName, [NewName]);

It seems the IDE exception is getting mangled/lost.

Can anyone else confirm this? Can there be a fix?

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

Re: DX Seattle form design component exception "Unknown"

Post by madshi »

I can reproduce the problem. Will have to check what's going on there. In any case, you can return the IDE behaviour to default by unchecking "enable IDE exception catching" here:

http://help.madshi.net/madExceptConfiguration.htm
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: DX Seattle form design component exception "Unknown"

Post by madshi »

Should be fixed in this build:

http://madshi.net/madCollectionBeta.exe (installer 2.7.12.1)
daves
Posts: 2
Joined: Wed Oct 07, 2015 12:49 pm

Re: DX Seattle form design component exception "Unknown"

Post by daves »

Thank you for the very quick fix. It works perfectly.
Post Reply