Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make a row of a grid readonly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00384833
Message ID:
00384842
Vues:
31
>Hi all,
>
>I need help to make this:
>In a grid, when a date field has a value in (<>{}) I want to make the row of that field readonly=.t. and enabled=.f.
>I tried with setall but makes all the grid readonly.
>If this is possible ( I suppose that), how can be do ?.
>
>TIA

You can do it in AfterRowColChange of the grid.

Iif(orders.date = {}, This.Column1.ReadOnly = .T.,.F.)
Iif(orders.date = {}, This.Column1.Enabled = .F.,.T.)
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform