Waiting form owner

E

esquif

I have a process that take some time to process data in formA.
While processing the data I wish to pop a "waitingform", simple form
with a label saying "Processing Data...". There is a timer within the
Waitingform, on each tick the label is hide and show to reflect that
the program is still running. When the processing finish, the waiting
form just close.

I have done everything and it's work well except for one thing.

If I set the waitingform owner :

WaitingForm->Owner = FormA

The waitingform doesn't appear before the data process finish, the form
disappear as soon as it appear. If I dont set the owner, the
waitingform works as expected, but can be lost behind other windows and
FormA look like if crash happen.

Does someone have an idea how I can set the ownership of the waiting
form and still keep the behavior i wish? Thank you
 
Top