Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox inside Grid column
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00683824
Message ID:
00683935
Views:
36
>I have a form with two columns grid. I set the currentcontrol for column1 to be a checkbox and assign this checkbox to a logic data type for the current table. When I ran my form, and try to toggling(clicking) the checkbox. Nothing happened! and my table remain untouched. Is there something I missed. Thanks in advance.

Under VFP 7.0, I ran into a similar problem with a grid that I programmatically add a check box to if the datatype is logical. While the check box class indicated that its Visible property was .T., when I looked in the debugger, I noted two things. One when I clicked the check box, it went from ReadOnly = .F. to .T.. Further, I noted that the Visible property was set to .F. BTW, Sparse was sent to .F. as well, but that was by design.

I solved the problem by adding a line of code in the method that programmatically added the check box that set the Visible property to .T.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform