|
-
Nov 12th, 2000, 08:18 AM
#1
Thread Starter
New Member
Hi,
I have a child MDI form. From it, I call a module, which runs a loop.
Just before the loop, I open a from with a progressbar on it, and during the loop the progressbar has to be filled. No problem with that though, but here is the problem.
During the loop, my "progressform" appears to be half transparant,i.e. I can see the mdi child form behind it and on the progressform, the labels are gone.
I tried to solve this making the progressform modal ( it is not a child form!), but then nothing happens because it really is a modal form, i.e. after the show cammand nothing happens, because you first have to close it to continue running the code?
How can i run my loop and have a small form with a progressbar on it running?
Thanks,
alain
-
Nov 12th, 2000, 08:29 AM
#2
Frenzied Member
During the loop, my "progressform" appears to be half transparant,i.e. I can see the mdi child form behind it and on the progressform, the labels are gone.
Do you put the loop code in Form_Load()??
If you do, try putting it in Form_Activate()
and try adding DoEvents in the loop to give the system a chance to update the ProgressBar
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Nov 12th, 2000, 08:36 AM
#3
Thread Starter
New Member
Thanks
Thanks a lot!
In the beginning I allready thought the solution had something to do with doevents, but i just didn't know how.
Alain
-
Nov 12th, 2000, 08:51 AM
#4
Frenzied Member
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|