Results 1 to 4 of 4

Thread: Half-tranparant form with progressbar on from

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    9
    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

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    9

    Smile 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

  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Cool... it works now?
    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
  •  



Click Here to Expand Forum to Full Width