Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable Row in the Grid
Message
De
14/03/2005 14:30:32
 
 
À
14/03/2005 14:05:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
00995318
Message ID:
00995646
Vues:
38
>You can have an extra field in the database called flag. In after rowcolchange repl the flag with "Y" and in the column1.text1.gotfocus put this code :
>
>if flag="Y"
> thisform.grid1.column1.ReadOnly=.t.
>else
> thisform.grid1.column1.ReadOnly=.f.
>endif
> >I'm sure there are better ways to go about this.
>HTH
>Shafid

Your code can be simplified a lot
thisform.grid1.column1.ReadOnly=flag="Y"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform