Write a method (can't be a free function/procedure) that has the same
parameters as the event and then assign it at run time e.g
MyBitmap.OnProgress := MyProgressEvent;
Guy
----- Original Message -----
From: "Tony Sinclair" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Tuesday, August 01, 2000 10:21 AM
Subject: [DUG]: Events on Non-Visible Components
> Hi all,
>
> For something like a TBitmap which has the OnProgress event, how do you
code
> for detecting the firing of that event if that instance is not created as
> part of a form?
>
> Tony Sinclair
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz