Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Allowing Exception to AllowCellSelection
Message
De
13/04/2007 12:05:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01165418
Message ID:
01215581
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform