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

  • Thread starter Thread starter neowizard
  • Start date Start date
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?
 
Maybe you could change the caption and then repaint the userform:

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

and so forth

(Untested.)
 
Back
Top