All this talk of how to find the owning form for an control and no one has
mentioned the standard utility functions GetParentForm and ValidParentForm
in Forms.pas that will do what you want and are guarenteed to be available
and working over any possible future changes to Delphi!

Have a look in the help and check the source and you'll see that you don't
need to muck about writing this stuff as its already available.

Cheers, Max.


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to