Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check box and text box in a grid column
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Check box and text box in a grid column
Divers
Thread ID:
00607061
Message ID:
00607061
Vues:
70
Hi all,
I have a grid with one column that needs to show a check box only if a condition is true. Sparse won't work because the user needs to see all columns that have a check box. I tried adding a text box to the column with a when that only returns .f. and then using the DymamicCurrentControl to show the text box when I don't want the check box to show. The only problem is I can't get the DymamicCurrentControl to work. I put this command in the grid init method:
This.Column6.DynamicCurrentControl= ;
iif(manfid = '***', 'txtSeperate','ckbSeperate')

I get an Invalid Dynamic... error.
I always seem to have problems with the Dynamic stuff. Can anyone help? I really just want to not show the check box depending on a value in another field in the record so I'm open to all ideas.

John.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform