I have a problem with changing the color of a button (in vb.net). I have searched the web and plenty of people are willing to tell me HOW TO change the color but my problem is – it doesn’t. I say it doesn’t, it does when it has finished the rest of the code in the Sub. Can anyone furnish me with an explanation please as to why it doesn’t happen when I ask? I’m using Visual Studio 2008
Share
After changing the colour call Application.DoEvents()
This gives the GUI a chance to update.