VB.NET – Background color of the form

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)

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3404 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.