E
emzyme20
Hi there,
I have a form that when you click on a button it does some work that
can take a lot of time. I decided to create a new form with a progress
bar that would keep the user updated that the application is actually
doing something.
The problem I have is that none of the other controls (labels, buttons)
on the progress form display until the parent form has finished doing
whatever it was doing. The progress bar on this form does update itself
everytime PerformStep is called though.
This is how I create the form in the button_click():
ProgressDlg dlg = new ProgressDlg();
dlg.Owner = this;
dlg.Show();
The function then continues to do its work and it's not until the end
of processing that the modeless progress dialog actually fully
displays.
I've searched the help and the forums here and can't find an answer.
Can anyone explain what I am doing wrong.
Many thanks,
Emma
I have a form that when you click on a button it does some work that
can take a lot of time. I decided to create a new form with a progress
bar that would keep the user updated that the application is actually
doing something.
The problem I have is that none of the other controls (labels, buttons)
on the progress form display until the parent form has finished doing
whatever it was doing. The progress bar on this form does update itself
everytime PerformStep is called though.
This is how I create the form in the button_click():
ProgressDlg dlg = new ProgressDlg();
dlg.Owner = this;
dlg.Show();
The function then continues to do its work and it's not until the end
of processing that the modeless progress dialog actually fully
displays.
I've searched the help and the forums here and can't find an answer.
Can anyone explain what I am doing wrong.
Many thanks,
Emma