Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamically enabling/disabling a grid column
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00399783
Message ID:
00400211
Vues:
18
>Hi,
>
>>You could play with the SETALL method and the readonly property. For example you can place:
>>
>>THIS.Setall("Readonly", !Mytable.Edit)
>>in the afterrowcolchange event.
>
>
>This didn't work. It disabled the entire column, not just the row I was on.
>
>Thanks,
>
>Jim

You'd have to apply this to all collumns, and then change the setting in the AfterRowColummChange method if you want to re-enable it for other rows.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform