Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Question
Message
De
09/11/1998 09:47:01
Rebecca Stottlemire
Kansas State Department of Commerce
Topeka, Kansas, États-Unis
 
 
À
06/11/1998 16:37:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00155387
Message ID:
00155703
Vues:
22
>>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.

Hi!
I got two completely different suggestions on this one. I'm going to test both and see which slows down the response the least--the other one was to put (in the When of the box in question) RETURN(IIF(the_other_column = "X",.F.,.T.)). Sounds like that'll work, too.
Thanks Again.
Becky
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform