Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox in grid causing error when clicked
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00615762
Message ID:
00615820
Views:
17
Steve,

If the field is a Logical in the table, set the Checkbox.Value to .f. on the property sheet, this will change it's "type" to logical instead of the 0/1 numeric type it has by default. I did this in my lowest level cCheckBox class so that I never had to worry about this again.

>That might be it, but I tried a couple of things related to that and got nowhere. I changed table field from Logical 1 to Character 1. I changed all .F. in table to Y or N (Characters). No Help. Then, I tried getting rid of M.Vairables and changed to TABLE.FIELDNAMES and still no difference. I have other checkboxes that work the same way I set this one up, but this one is in a grid cell. That's the only difference. It almost acts as if the checkbox is not the only control in the cell, but I also checked into that. Still puzzled. I might try making a new form with a small grid and put a checkbox in it and see if the same thing happens. Hmmmm...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform