slowNsteady
Programmer
Hi
In vb.net 2.0,i have created a checkbox programatically.
now i am trying to change the color of it.
It is not changing
Here is the code:
Dim chkDS1 As New CheckBox
chkDS1.Location = New Point(200, 118)
chkDS1.Text = ""
chkDS1.CheckState = CheckState.Checked
chkDS1.Visible = True
chkDS1.Enabled = true
chkDS1.BackColor = Color.Cyan
Panel1.Controls.Add(chkDS1)
is there any other way to do it ??
Thanks,
Sri
In vb.net 2.0,i have created a checkbox programatically.
now i am trying to change the color of it.
It is not changing
Here is the code:
Dim chkDS1 As New CheckBox
chkDS1.Location = New Point(200, 118)
chkDS1.Text = ""
chkDS1.CheckState = CheckState.Checked
chkDS1.Visible = True
chkDS1.Enabled = true
chkDS1.BackColor = Color.Cyan
Panel1.Controls.Add(chkDS1)
is there any other way to do it ??
Thanks,
Sri