adding "Plase Wait" form to child control

V

VMI

How can I add a small "Please wait..." form to a child form so that when I
minimize the child form, the "Please Wait..." form will also disappear? This
form will be displayed when the child form is running a lengthy process or
when the child form is displayed. Once the child form finishes the process,
or it's minimized, the "wait" form will also disappear.

Thanks.
 
W

William Stacey [MVP]

Why not add a progress bar to the child form? Also, you have a ref to the
wait form from the child (creator) form, so in the minimize event of child,
also minimize the wait form. A dialog for the wait would probably be
better with no min or max button on it with and using the Form.ShowDialog()
method in the child. Then just hide it as needed, etc. until you need to
close it.
 

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