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.

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.


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to