John Dammeyer wrote:
> As a matter of course when I create functions or procedures to deal with
> data in my objects I always add the sender :Tobject declaration.  But do
> I need to.  What exactly does this provide in a local private or public
> function/procedure.  Do I even need to declare it?  If I do, how do I
> use 'sender'?

Begin with this:

http://www.cs.wisc.edu/~rkennedy/sender

So, do you need to know which object's event the method is handling? If 
so, then include the sender. If not, then don't.

-- 
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to