dummzeuch 1517 Posted April 3, 2019 Shameless self promotion: On StackOverflow somebody asked the question in the title and I answered it. And as you might have guessed, I am might proud of having had that idea. It might be interesting to know that this is how GExperts fixes some of the IDE bugs and enhances some forms: It creates a TComponent descendant which hooks some events of the form to implement the fixes or enhancements. And since it is added to the form, it automatically gests freed in the form’s destructor. https://blog.dummzeuch.de/2019/04/03/extend-the-event-onclick-of-all-menuitems-in-the-screen-to-execute-another-block-of-code/ 2 Share this post Link to post