View Single Post

  #2 (permalink)  
Old 01-18-2009, 06:43 AM
Eyal.Albert Eyal.Albert is offline
Junior Member
 
Join Date: Jan 2009
Posts: 1
Eyal.Albert is on a distinguished road
You have to register every control to that event.
The only short cut i can offer you is to run in a loop on every control on the form (and if you know that the controls are actually are placed in other controls like panel or tab control run recursively on every control that holds them) and register if the control is from the right type.
Reply With Quote