That depends on if you use the Sender parameter inside the event.  If you do
make use of the Sender parameter then send it the appropriate object.  If
not just pass in Nil.

Guy Brown
TimeMaster Systems

-----Original Message-----
Joel van Velden wrote:
Hi there all,

Just 1 newbie question:

How do I run an event-handlers procedure from somewhere else in the program?
ie, What do I give as 'Sender' in 'procedure TForm3.ListBox1Click(Sender:
TObject);'

TIA,
Joel van Velden


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to