Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditionally hiding/showing checkbox in grid column...
Message
 
À
04/05/2005 11:20:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01010575
Message ID:
01010808
Vues:
27
Thanks for the reply. I did change it to a label. But i found a post by Cetin where the syntax is not the same as it is for DynamicBackColor (which is what i based my DynamicCurrentControl command on). I changed the syntax and it now works.
.grid1.Columns(3).DynamicCurrentControl = "(IIF(assetfotos.lAsset,'label1','check1'))"
.grid1.setall("DynamicBackColor","IIF( assetfotos.lAsset, RGB(250,253,193), RGB(255,255,255) )","Column")
>There's no problem having the control source being logical. However, try using a label (with caption='') instead of a text box.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform