<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi <br>
<br>
I'm writing a subclass of tComponent, <font face="Courier New">tWCL</font>,
that calls <font face="Courier New">reactionMethod </font>when the
user clicks one something else - on another component, but also on the
form..<br>
<br>
When I originally wrote <font face="Courier New">tWCL</font>, I gave
it an <font face="Courier New">onExit</font> handler. When the user
clicked on some other component, the <font face="Courier New">tWCL</font>
object's <font face="Courier New">onExit</font>handler was called
automatically, and this called <font face="Courier New">reactionMethod</font>.
I also added the handler <font face="Courier New">form.onClick</font>,
which explicitly set the tWCL object's <font face="Courier New">enabled</font>
property to false when the user clicked on the form, thereby also
invoking the object's <font face="Courier New">onExit</font>handler,
which in turn called <font face="Courier New">reactionMethod, as
required</font><br>
<br>
Now, however, I want to turn <font face="Courier New">tWCL </font>into
a component, and I don't want the user to have to write a <font
face="Courier New">form.onClick</font> handler. How can I get my
component to detect that the user has clicked on the form?<br>
<br>
Thanks<br>
Paul<br>
</body>
</html>