Wauw, works perfect! Must say that I was also looking for a solution of finding typedefs but looking into your code I don't think I would be able to come up with this myself. Thanks!
I want my application to generate an event when a control of a certain Type Def on my GUI is clicked. It needs to be dynamic so when a new Type Def is added to the GUI the application must also generate an event without the need of changing the code. Any help is appriciated. If this is possible...