Sharathms
June 29th, 2001, 03:07 AM
Hi all,
i am working on a project which is an mdi with some (atleast 10) child forms.
i need to show a progress bar dialog (with two progress bars, one total and one current and some labels and a cancel button)
this progress bar is used by atleast 6 methods in the project, which have code to cancel the operation if the user presses cancel button
in the progress dialog [all of them uses DoEvents])
The problem is, the progress bar is never a modal form. so even if the progress bar is first in the z-order,
i can still click all the menu items and toolbar buttons which creates a mess!.
how can i avoid this problem.
[one restriction is i cannot progress dialog with frmProgress.Show VbModal, frmMain]
this is the last bit in my project. please help me how to solve this.
regars,
Sharath
i am working on a project which is an mdi with some (atleast 10) child forms.
i need to show a progress bar dialog (with two progress bars, one total and one current and some labels and a cancel button)
this progress bar is used by atleast 6 methods in the project, which have code to cancel the operation if the user presses cancel button
in the progress dialog [all of them uses DoEvents])
The problem is, the progress bar is never a modal form. so even if the progress bar is first in the z-order,
i can still click all the menu items and toolbar buttons which creates a mess!.
how can i avoid this problem.
[one restriction is i cannot progress dialog with frmProgress.Show VbModal, frmMain]
this is the last bit in my project. please help me how to solve this.
regars,
Sharath