In Delphi most event are implemented in 2 phases : a method recieve the message (like WmClick, WmChange...), this method call a second method (like Click, Change...) which is dynamic and respond to the event (by calling an OnClick, OnChange...). This way it is possible to override those methods to implement responds to these events.
I think it would be usefull to implement the LCL the same way.
To do so, someone (i can't connect to CVS) need to change the TControl.DoClick to call a dynamic method TControl.Click which test FOnClick and call it if needed. I also need the TCustomComboBox.DoChange to be modified the same way.
Thanks
P Jean dit Bailleul ()
