Private Sub HScrollBar1_Scroll(ByVal sender As Object, _
ByVal e As ScrollEventArgs) _
Handles HScrollBar1.Scroll
Me.BackColor = HScrollBar1.Value
End Sub
How to set the BackColor of the form? How to use RGB values?
Me.BackColor = Color.FromArgb(255,255,255)
…Replace 255 on each parameter with the value you need. For example
Me.BackColor = Color.FromArgb(HScrollBar1.Value,HScrollBar2.Value,HScrollBar3.Value)< /pre>
Private Sub HScrollBar1_Scroll(ByVal sender As Object, _
ByVal e As ScrollEventArgs) _
Handles HScrollBar1.Scroll
Me .BackColor = HScrollBar1.Value
End Sub
How to set the BackColor of the form? How to use RGB values?
Me.BackColor = Color.FromArgb(255,255,255)
…Replace the on each parameter with the value you need 255. For example
Me.BackColor = Color.FromArgb(HScrollBar1.Value,HScrollBar2.Value,HScrollBar3.Value)
p>