[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

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
0
vbnetcoder
Asked:
vbnetcoder
  • 4
  • 3
  • 2
1 Solution
 
GaryCommented:
Use a checkbox and not a textbox.
0
 
vbnetcoderAuthor Commented:
Long story but i need a textbox....
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
you could do

"[  ]"  as empty  and "[ X ] " as checked
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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
 
Kyle AbrahamsSenior .Net DeveloperCommented:
txtbox1.text = ChrW(&H2713)
0
 
vbnetcoderAuthor Commented:
ty
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now