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?
Is there a way to change this to display something like "complete" and "incomplete" instead?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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!
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...
ASKER