Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid1.column1.container1.check1.controlsource - HELP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00204268
Message ID:
00204275
Views:
21
>Wanted to center a checkbox in a grid. Made a class of a container with a checkbox so that I could set the check.left property to center the checkbox within the container.
>
>My grid is bound to a table. All the checkboxes are used for logical fields. The column1.spare is set to .F.
>
>I have no code in my container_grid class. After adding the container_grid class to the column of the grid, I set the check1.controlsource in the check1.init to the correct table.fieldname. When I run the app, I get really goofy results. The checkbox has no values, until the grid gets focus. Then when I check on check1 - check2 (another checkbox in a different column) checks or unchecks. What am I missing?

For this case, set both the column controlsource and the checkbox controlsource to the field...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform