Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a code that makes the the text box show yes or no depending on the checkstate
this is the code i have but when i run nothing shows in the box

What I have tried:

Private Sub furonly_TextChanged(sender As Object, e As EventArgs) Handles furonly.TextChanged
       If rdbtnfur.Checked = True Then
           furonly.Text = "Yes"
       Else furonly.Text = "No"
       End If
   End Sub
Posted
Updated 10-Jan-17 6:06am
Comments
[no name] 10-Jan-17 11:49am    
Does it not show the text because of the infinite recursion you have going on?
Richard MacCutchan 10-Jan-17 11:55am    
This code should be in the CheckboxChanged event.
Masta Pee 10-Jan-17 12:09pm    
let me try and see
Masta Pee 10-Jan-17 12:25pm    
worked fine thank you

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900