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 BackColorforms? How to use RGB value?
BackColor
Me.BackColor = Color.FromArgb(255,255,255)
... replacing 255 for each parameter with the desired value. eg.
Me.BackColor = Color.FromArgb(HScrollBar1.Value,HScrollBar2.Value,HScrollBar3.Value)
Use Color.FromArgb()
Color.FromArgb()
BackColor, System.Drawing.Color
formname.backcolor, . :
formname.backcolor
formname.backcolor = vbred
.
Source: https://habr.com/ru/post/1754653/More articles:PHP thread safety - phpEclipse с использованием нескольких интерпретаторов Python с execnet - pythonCarriage return ("\ r \ n") in java - javaSum the values for one column in a specific row in R - rExport mysql database to Microsoft Access (.mdb) - phpIs it necessary to develop applications for SPARC, IBM power CPU for individual compilers, other than x86, x86-64 goals? - compiler-constructionhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1754655/how-can-i-keep-a-file-in-another-git-repository-up-to-date-in-my-repository&usg=ALkJrhjuTwdMqI6TUpY3TV99xCJevxtPgwsending data between server and client in twisted - twistedTemplate / methodology for interaction between Windows and / or UserControls - c #Perl executing linux shell commands that are multi-line require authentication? - command-lineAll Articles