Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETALL method for columns in a grid
Message
De
31/01/2005 11:53:22
 
 
À
31/01/2005 10:14:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00982234
Message ID:
00982280
Vues:
26
Thanks Marcia, that is exactly what I was looking for. Using the readonly property is new to me, but allows my user to scroll down the grid if it is larger than the window on screen. Disabling the grid didn't work as well.

Andrew


>I am trying to disable a grid from having items edited if an invoice is finished. The code I am trying is as follows:
>
>
>IF invoice.status = "FINI"
>  thisform.pageframe1.page1.basecont1.grdbase1.Enabled = .F.
>ELSE
>  thisform.pageframe1.page1.basecont1.grdbase1.Enabled = .T.
>ENDIF
>
>
>OR
>
>
>IF invoice.status = "FINI"
>  thisform.pageframe1.page1.basecont1.grdbase1.ReadOnly = .T.
>ELSE
>  thisform.pageframe1.page1.basecont1.grdbase1.ReadOnly = .F.
>ENDIF
>
On a CLEAR day you can see forever.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform