|
Hi I'm writing a subclass of tComponent, tWCL, that calls reactionMethod when the user clicks one something else - on another component, but also on the form.. When I originally wrote tWCL, I gave it an onExit handler. When the user clicked on some other component, the tWCL object's onExithandler was called automatically, and this called reactionMethod. I also added the handler form.onClick, which explicitly set the tWCL object's enabled property to false when the user clicked on the form, thereby also invoking the object's onExithandler, which in turn called reactionMethod, as required Now, however, I want to turn tWCL into a component, and I don't want the user to have to write a form.onClick handler. How can I get my component to detect that the user has clicked on the form? Thanks Paul |
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
