GamesRule
01-11-2004, 01:44 AM
Hey
Having a problem with this, once again suffering from the jump between VB6 and .Net
Using three scrollbars to control the red, green and blue elements of a backcolor.
SO I Have...
panel1.Backcolor = RGB(scrRed.Value,scrGreen.Value,scrBlue.Value)
This code is in each scrollbars scroll event. It wont let me run the program due to "Value of type "Integer" cannot be converted to "System.Drawing.Color".
Anyone know how to solve this?
Having a problem with this, once again suffering from the jump between VB6 and .Net
Using three scrollbars to control the red, green and blue elements of a backcolor.
SO I Have...
panel1.Backcolor = RGB(scrRed.Value,scrGreen.Value,scrBlue.Value)
This code is in each scrollbars scroll event. It wont let me run the program due to "Value of type "Integer" cannot be converted to "System.Drawing.Color".
Anyone know how to solve this?