Installed 2.7 and now don't have .enabled property

contains all delphi packages mentioned below
Post Reply
igdlynx12
Posts: 1
Joined: Sun Apr 18, 2004 8:32 pm

Installed 2.7 and now don't have .enabled property

Post by igdlynx12 »

Have just OnExcept and OnExceptAction. Must not have something installed correctly.

Thanks in advance for the help.

Rick Whitaker
Iowa Glass Depot
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Hi Rick,

are you talking about the TMadExceptionHandler.Enabled property? I've removed that in madExcept 2.5 already. The problem with this property was that is was kind of misleading. Because it didn't enable/disable madExcept (what most people thought when using it), but it only enabled/disabled the connected exception handlers. So in order to reduce confusion, I've removed that property. Is that a big problem for you? Maybe you should replace the TMadExceptionHandler component by calls to (Un)RegisterExceptionHandler and (Un)RegisterExceptActionHandler? That would have just another advantage: You can call Register*** already in the initialization of a unit. The exception handlers registered by TMadExceptionHandler show effect only after the form got created.
Post Reply