Hi James,
Components are always pointers so the only way to pass them is as Var.
The best examples are the automatic procedures
MyForm.Procedure1(Sender : TObject)

Sender is the control/component that originated the event

Mick
_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to