Thứ Bảy, 14 tháng 6, 2014

VB How do i make a color change

I'm making a bingo program but I do not know how to make the color change when the number is called and how the number get generate 1 - 75.

I give $10 google play voucher if the code works.
Where are the numbers noted?
A textbox ?

If so just do something like this
If textbox1.text = "(number)" then textbox1.colour = collor.greenI don't know much about vb10.If you want to change the color of text box then heres the code
If Text1.Text = 1 Then Text1.BackColor = vbRed

Không có nhận xét nào:

Đăng nhận xét