Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid with Checkbox
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00079961
Message ID:
00079970
Views:
19
>Does a class exist for a grid which has a checkbox as one of its columns? The plan is to perform an operation on child records based upon whether a check is in the box for a particular record.
>
>TIA for any helpful info,
>
>Bill

I am sure classes exist for this. What some of us have been doing is dropping a caption-less checkbox onto a container so we can center the checkbox in the container. Then we do a Copy of the container, place the grid in "edit-mode", and paste the container with the checkbox into the grid column. The trick to making it work, is placing specific code in the init of the grid-column to set the control source of the column and check box to the same thing.

Otherwise, dropping a checkbox onto a grid-column still works. The grid has to be in edit-mode at the time.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform