PC Review


Reply
Thread Tools Rate Thread

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

 
 
neowizard
Guest
Posts: n/a
 
      6th Mar 2008
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?

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      6th Mar 2008
Maybe you could change the caption and then repaint the userform:

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

and so forth

(Untested.)

neowizard wrote:
>
> 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?


--

Dave Peterson
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the Caption on a Worksheet Label AhrenL Microsoft Excel Charting 1 18th May 2006 09:23 PM
Change label caption on userForm while code runs Sliman Microsoft Excel Programming 1 16th Mar 2006 05:38 PM
Label - Caption not changing Brian Hribek Microsoft Excel Programming 0 11th Oct 2004 10:02 PM
Label - Caption not changing Brian Hribek Microsoft Excel Programming 1 11th Oct 2004 09:19 PM
changing the caption of a label Koos Microsoft Excel Programming 4 18th Oct 2003 02:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:22 PM.