We have just rolled out an upgrade of an app to about 110 desktops. On
one computer the app crashes when starting.

It seems to be crashing because the FormActivate method is being run
when a particular form is auto-created (before the FormActivate method
for the main form runs), and there are database parameters in the
FormActivate method that are not defined until the main form becomes
active.

I can re-create the problem if I set the form's visible property to true
(it is normally false). Does anybody have any idea why the FormActivate
method is running when the visible property is false?


-- 
John Mason
Sinclair Knight Merz Limited
54 The Terrace, Wellington, New Zealand
Phone: +64-4-473 4265, Fax: +64-4-473 3369
--
NOTICE - This message contains privileged and confidential information
intended only for the use of the addressee named above. If you are not
the intended recipient of this message you are hereby notified that you
must not disseminate, copy, or take any action in reliance on it. If you
have received this message in error please notify Sinclair Knight Merz
Limited immediately. Any views expressed in this message are those of
the individual sender, except where the sender has the authority to
issue and specifically states them to be the views of Sinclair Knight
Merz.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to