Check box (ASCI)

I have a textbox and i want to fill it with a check. How?

for example

txtBox.text = however i get the checkbox
vbnetcoderAsked:
Who is Participating?
 
Kyle AbrahamsConnect With a Mentor Senior .Net DeveloperCommented:
txtbox1.text = ChrW(&H2713)
0
 
GaryCommented:
Use a checkbox and not a textbox.
0
 
vbnetcoderAuthor Commented:
Long story but i need a textbox....
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Kyle AbrahamsSenior .Net DeveloperCommented:
you could do

"[  ]"  as empty  and "[ X ] " as checked
0
 
GaryCommented:
Then use the ASCII for a tick e.g.

<input type="text" value="&#10003;">
0
 
vbnetcoderAuthor Commented:
so

txtbox1.text = <input type="text" value="&#10003;">
0
 
GaryCommented:
txtbox1.text = "&#10003;"

If you want a slightly bolder version then

txtbox1.text = "&#10004;"
0
 
vbnetcoderAuthor Commented:
Would't
txtbox1.text = "&#10004;"

ust set the value in the textbox to "&#10004;"  

?
0
 
vbnetcoderAuthor Commented:
ty
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.