| A. Reza Bemanian 2006-05-25, 7:08 pm |
| Have coded the delegate and the event service function for button controls on
a WinForm application, the event does not get triggered at all. I also used
the setstyle function to set the standard double click property to true.
Unfortunately was not able to find the proper documentation to enable such
events for the button controls. It seems as one way to do it is by generating
a derived class for the butoon controls, which I suppose generating buttons
with the wrpper class could interfer with the winform design interface. The
other is to use a tick counter, and code it manually in the mouse down event.
Being a bit reluctant to do it manually, the second alternative was selected
in my case. I Was wondering if someone has seen proper documentation for this
problem, or has better suggestions.
Best Regards,
Reza Bemanian
3I Control Systems
|