Link to home
Start Free TrialLog in
Avatar of freethinker23
freethinker23

asked on

Default Text Value of a CheckBox

I have a datagrid that displays a boolean field via a CheckBox.  When you click the check box the text changes from "false" to "true"; nothing complicated.  

Is there a way to change this to display something like "complete" and "incomplete" instead?
ASKER CERTIFIED SOLUTION
Avatar of rspahitz
rspahitz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of freethinker23
freethinker23

ASKER

How do you shrink the size of the text next to the checkbox?
What I meant was to simply resize the control so the text does not show.

For example, set the checkbox control's width to  16 and the text should be hidden.  You may also be able set the text property = blank.

However, if you overlay the label, you don't necessarily need to do that.  And set the label's TextAlign property to middle-left for nice alignment.

--
Thanks for the points!
actually, don't change the text property since that may update the database...