> I am processing a number of routines in the FormActivate event
I think it would be much better if you put a TTimer component on your
form and put only Timer1.Enabled:=true into your FormActivate or
FormShow event. Don't do lengthy processing in those events.
Inside the timer execute event (such as Timer1Timer), you would do
Timer1.Enabled:=false and then you would process your routines which
may take minutes while the form is already shown. You should also
disable any dialog elements in the form while your routines are
running and call Application.ProcessMessages as often as you can so
that the form can be moved across the screen, minimized and so forth.
Kind Regards,
Tobias Giesen
---
www.superflexible.com
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives