Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic checkbox caption in grid?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00655970
Message ID:
00656356
Views:
21
Lynda,
I have given up on check boxes in grids because of problems such as this. We now use a 1 byte Char. field containing Y for yes and - for no. When the user clicks on the field, hits enter or space bar or hits Y or N we toggle the value with a udf in the valid that reads the keypress. It was very easy to implement, looks great and the users love it. We use "-" in place of "N" because it stands out a lot more in the column.

Just a suggestion,
John.

>Is it possible to dynamically change the caption of a checkbox in a grid column to display "Yes" or "No" according to the datasource for the checkbox? When first asked by the client I gave the standard "Sure" but now I'm *not* so sure.
>
>Several times I've had it working except for an occasional "echo" into the adjacent row as long as focus remains in that column. Nothing I've tried displays the correct values after focus shifts to another column.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform