M
Matthew Louden
For the following code, I dont understand why "no" never appears even I
uncheck the check in the check box.
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CheckBox1.CheckedChanged
TextBox1.Text = " "
If (CheckBox1.Enabled) Then
TextBox1.Text = "yes"
Else
TextBox1.Text = "no"
End If
End Sub
Please advise. thanks!
uncheck the check in the check box.
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CheckBox1.CheckedChanged
TextBox1.Text = " "
If (CheckBox1.Enabled) Then
TextBox1.Text = "yes"
Else
TextBox1.Text = "no"
End If
End Sub
Please advise. thanks!