Viele Textboxen auf einmal Färben
05.10.2013 08:16:11
Sebastian
in meinem Code komme ich an eine stelle in der ich ca 20 Textboxen färben möchte. Normal geht das ja mit:
txtBox1.BackColor = RGB(255, 255, 170)
txtBox2.BackColor = RGB(255, 255, 170)
txtBox3.BackColor = RGB(255, 255, 170)
... etc.
Ist es sinnvol das so zu schreiben oder bibt es da etwas übersichtlicheres bzw kürzeres?
Vielen dank
Gruß
Sebastian