Check if an event is already handeled

If I handle an event over the IDE at design time and try to handle it also over code at runtime, is there a better way to detect if an event is already handles apart from a try/catch block?

thanks :*

https://www.great-white-software.com/blog/2020/02/19/iseventimplemented/

okay, interesting.

But, is there maybe a more stable way, which is not able to cause bad headaches in the future?

Something like… a documented functionality? :smiley:

you could use a boolean return value for a event. a event is executed direct same as you would call a method.

short of having addhandler fail and catching the exception no
its why this functionality was even added during the 2019r2 cycle
its still useful

that xojo has chosen to leave it undocumented is a different issue entirely
feedback://showreport?report_id=58868