|
-
Jul 12th, 2011, 12:15 AM
#14
Thread Starter
Member
Re: VB2005, how to refresh labels/textboxes
 Originally Posted by Inferrd
Whilst I would encourage you to listen to the advice above, if you are just coding something quickly for yourself (or lazy like me  ) you could always do it like:
Code:
Label1.Text = "One"
Label1.Refresh()
Threading.Thread.Sleep(1000)
'..etc....
'.........
'or even.....
Label1.Text = "One"
Application.DoEvents()
Threading.Thread.Sleep(1000)
'..etc....
'.........
This worked beautifully. Thank you.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|