Hello
I want to change a labels back color on form1 via a button on form 2, both of which are open.
The code i tried for this is:
But this dosent work, so i assumed its not passing it to the other form correctly so i tried a class on form 1Code:Form1.lbl11.BackColor = Color.Green
Calling it on form2 byCode:Public Sub Changegreen() lbl11.BackColor = Color.Green End Sub
But this dosent change the color either, ive put a message box in the class to popup which it does so it is running just the color not changing. The only way it will change color is by a click/double click on another item on form1Code:Call form1.Changegreen()
What am i missing?




Reply With Quote