[DUG] Problem with minimize button.

Ross Levis ross at stationplaylist.com
Wed Jun 27 15:54:02 NZST 2007


Check you have no Show called before the Run in the .dpr source.  I
specifically do that for a splash window.

Also check if you have a OnCreate event which may be running something that
inadvertently Shows the form.

Ross.

-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Phil Scadden
Sent: Wednesday, 27 June 2007 15:15
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Problem with minimize button.

> Might have breakthrough. If you start the program from a shortcut and you
> set the "run" property to "minimised" instead of Normal window, the I can
> reproduce on my windows 2000 machine. The offending machine is
> a Win XP. I am checking whether the offending machine has done the
shortcut
> this way.

Sadly no. However, making the main form visible false has similar effect.

BUT in investigating, I find another issue. The formshow event is being
called
before the other autocreate forms are created. I thought it should show
until
application.run.

This is being an issue because it reference data in the not yet created
form. Behaviour at moment is well and truly different to my perceptions on
how Delphi runs. 



More information about the Delphi mailing list