Solution 5:  Make the hooking possible at runtime only.  (Don't publish the
button property for your component, just have it as public).

JED

===========

Solution 1:   Also hook the double click event so that you can check your
hook
                  after the double click

Solution 2:  Yuck...but periodically check that you are still hooked (Ugly
but would work)

Solution 3: Request that the user/developer 'reinitialises' your component
after
                assigning anything to a TNotifyEvent.

Solution 4: Also hook some other event of the TButton (onEnter, mousemove,
mousedown)
                 to reinit yuor click hook


HTH

Neven




This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the [EMAIL PROTECTED]

---------------------------------------------------------------------------
    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"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to