Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Allowing Exception to AllowCellSelection
Message
De
30/10/2006 07:37:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01165418
Message ID:
01165458
Vues:
15
Hi Jerry,

one easy way to stop entry into various columns/cells is to return .F. from the When() of the activecontrol in the column.

>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
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform