|
And
just to be different from everyone else.
Have
the processing code run in a subthread and in it's onTerminate event close the
form. Remember to use critical sections when accessing the UI like the
progress bar though. The onTerminate event is run within the apps main
thread so it's ok to do it from there.
Or
something to that effect. That way you will get proper UI re-draws without
having to call application.processMessages all the time. Oh and you can
have a nice cancel button that'll animate (depress and rebound) when the user
clicks it. :o)
Nahum
Wild
Software Innovator & Process
Consultant
IFE
PayGlobal
|
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
