Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Allowing Exception to AllowCellSelection
Message
From
13/04/2007 12:05:02
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01165418
Message ID:
01215581
Views:
16
>I have a grid, and I want to restrict users from entering the cells. However, the first column is a checkbox, and I want the users to be able to toggle it. If I set AllowCellSelection to .F., the users can't toggle the checkbox, but if I set AllowCellSelection to .T., the users can enter the cells. Setting the columns and textboxes to Enabled = .F. didn't help, nor did setting ReadOnly = .F. How can I allow users to access the checkbox in the first column of the grid, but not be able to enter any of the other columns?
>
>Jerry

Return .F. from Column.Control.When event prevents users from entering in the cell. Btw, Column.Readonly=.t. or Control.Enabled=.f., as well as as setting calculated controlsource would help too though with some exceptions.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform