On Thu, 13 Dec 2007 12:31:30 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> On 13/12/2007, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> >
> > Add a TTimer on your main form and close your splash form in the
> > event.
> >
>
> Why can't you put the timer in the Splash form instead of the Main
> form. I just did that under fpGUI and it works fine. That way
> everything related to the splash form is in the splash form.
Yes, that's possible too.
> In FormCreate I create the timer. In FormShow I enable the timer.
> Extra bit (in case you have a long showing splash form). Clicking on
> the Form executes the same event handler as when he Timer fires, which
> closes the form.
>
> Works perfectly under Linux and Windows.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives