display changing label caption on form as sub runs w/o screen flic

N

neowizard

let's say i have this routine



Sub Test

label1.caption = "Starting ... "

'do events

label1.caption = "Getting there ... "

'do events

label1.caption = "Finished! ... "

End Sub


on my form, i have label1 right in the middle

what happens is sometimes the message will change, and then sometimes it
wont, or it will show the first one, skip the second and jump to the third

etc etc etc

so it is inconsistent.

is there a way to make sure the label caption displays consistently, on
time, when it is supposed to w/o any screen flicker?
 
D

Dave Peterson

Maybe you could change the caption and then repaint the userform:

me.label1.caption = "starting..."
me.Repaint
....

and so forth

(Untested.)
 

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