I'm looking at this... but what I'm looking for is more "simple", clone a button1 into a button2 with all its properties and events by code. The idea is to have a button1, whi...
Is there a way to send the click of the close button X to a procedure? I think it can be disabled but that's what I want.