Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Question
Message
De
06/11/1998 16:37:12
 
 
À
06/11/1998 16:31:07
Rebecca Stottlemire
Kansas State Department of Commerce
Topeka, Kansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00155387
Message ID:
00155389
Vues:
23
>I have a grid on a form being used for data entry. One column has to be enabled=.F. depending on the data in another column. I have the enable/disable in the AfterRowColChange event, and it works fine as long as the user tabs from column to column, but if the use the up and down arrows to go up and down the column (which I'm sure they will do), it doesn't enable/disabled correctly.
>I need an AfterColRowChange, but there isn't any such thing. Has anyone figured out how to handle this?
>Thanks!!!!!!!!:)

Probably, the more consistent way of handling this kind of problems is to use Column.DynamicCurrentControl property based on some field value, i.e. your column will hold two identical controls (textboxes?) with the only difference that one control.Enabled=.T. and another Enabled=.F.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform