Private Sub HScrollBar1_Scroll(ByVal sender As Object, _
ByVal e As ScrollEventArgs) _
Handles HScrollBar1.Scroll
Me.BackColor = HScrollBar1.Value
End Sub
How can I set the BackColor
of the form? How can I use an RGB value?
Me.BackColor = Color.FromArgb(255,255,255)
...replacing the 255 on each parameter with the value you need. e.g.
Me.BackColor = Color.FromArgb(HScrollBar1.Value,HScrollBar2.Value,HScrollBar3.Value)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With