Hi All.
FYI had been having some problems with starting a program and minimizing the
form to tray prior to the show event. This can cause major problems when some
code tries to call the window handle. The easy resolution is to show the form
first the quickly hide it.
In  the  past I thought  that  it was annoying and slack programming that so many
programs start this way but now understand why.

This requirement makes the intilization part a bit harder, as the form has to
show prior to being minimized, and you cant hide the form in the show event.
Any punters on how to hide the form after it has shown (without using a timer)?
What I have done is set the mainform.tag in show, and later if that tag is
not set then quickly show/hide the form.

Al+

---------------------------------------------------------------------------
    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