Is there a way to repaint specific controls

P

Patrickw

I put a progress meter on my userform using a label colored blue with
an expanding width from 1 to 300. When I ran the program, I could not
get the label to grow. I added the command Me.Repaint at each
incremental increase of the label's width. Now the meter works great,
but the other controls on my form flicker. I assume this is because I
am repainting the entire userform and all its controls with the
general Me.Repaint command. Is there a way to repaint just the label
control so the rest of the userform won't flicker?
 
T

Tony Jollans

No. Put the progress meter in a separate userform on top of the main one,
and unload it when your operation is complete.
 

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