?
Solved

Check box (ASCI)

Posted on 2014-02-19
9
Medium Priority
?
296 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Stack Overflow Podcast - Developer Story

Welcome to the Stack Overflow podcast recorded Thursday July 20 at Stack Overflow Headquearters in NYC. Your hosts today are podcast regulars Jay Hanlon, David Fullerton, and Ilana Yitzhaki, plus the quite irregular Matt Sherman (Stack Overflow Engineering Manager extraordinaire)

 
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 2000 total points
ID: 39873632
txtbox1.text = ChrW(&H2713)
0
 

Author Closing Comment

by:vbnetcoder
ID: 39879348
ty
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

741 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