Solved

Check box (ASCI)

Posted on 2014-02-19
9
289 Views
Last Modified: 2014-02-22
I have a textbox and i want to fill it with a check. How?

for example

txtBox.text = however i get the checkbox
0
Comment
Question by:vbnetcoder
  • 4
  • 3
  • 2
9 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39871621
Use a checkbox and not a textbox.
0
 

Author Comment

by:vbnetcoder
ID: 39871633
Long story but i need a textbox....
0
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 39871650
you could do

"[  ]"  as empty  and "[ X ] " as checked
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 58

Expert Comment

by:Gary
ID: 39871654
Then use the ASCII for a tick e.g.

<input type="text" value="&#10003;">
0
 

Author Comment

by:vbnetcoder
ID: 39871658
so

txtbox1.text = <input type="text" value="&#10003;">
0
 
LVL 58

Expert Comment

by:Gary
ID: 39871676
txtbox1.text = "&#10003;"

If you want a slightly bolder version then

txtbox1.text = "&#10004;"
0
 

Author Comment

by:vbnetcoder
ID: 39873521
Would't
txtbox1.text = "&#10004;"

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

?
0
 
LVL 40

Accepted Solution

by:
Kyle Abrahams earned 500 total points
ID: 39873632
txtbox1.text = ChrW(&H2713)
0
 

Author Closing Comment

by:vbnetcoder
ID: 39879348
ty
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question