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". The waiting
form have it's own thread and show the process advancing between 0 and
100%.There is a timer within the
Waitingform, on each tick the progress percentage is read and display,
also this 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. I wish
the waiting form to be modal and own by the main form.

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 user may believe there is a problem when it's not.

I use multiple threads in my application. The data processing thread is
not the same as formA nor the same as the Waitingform.

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

Guest

Is this Access you are asking about?
There is no Owner property for a form in Access.
Perhaps you are in the wrong News Group.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top