On 13/12/2007, el stamatakos <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>   I would like to display a message but not wait for the user to hit ok. I
> would like to display it for 1 second and then close it. The reason is I
> will have a process that will do different things and I would like to
> dispaly what is being done.


Yeah, a form with a Timer should do the trick.  Same principle as a
splash screen.  I've done something similar in my projects and created
a helper function to create and show the form, so I don't need to do
that every time.  The form also has a 3D look with now title bars or
borders.

eg:
   ShowNotification('your message goes here', displaytime);

displaytime is optional and defaults to 2 seconds in my case.



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