Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamically enabling/disabling a grid column
Message
De
03/08/2000 00:35:27
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00399783
Message ID:
00400230
Vues:
22
Hi jim,

>I put this in the AfterRowColChange Event for the entire GRID. Is this where it is supposed to go?
>
>THIS.Setall("Readonly", !LogView.Edit)
>
>All rows are editable even though there are .F. and .T. in the Edit rows.

I don't know why this does not work, can you check if the readonly property of any textbox in the grid is indeed set to FALSE when !LogView.Edit ? Is there any other code that might overwrite these settings ?

Another strategy might be to put a THIS.readonly = !LogView.Edit in the when clause of each textbox in the grid.

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform