Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid DynamicBackColor using a checkbox in the grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Grid DynamicBackColor using a checkbox in the grid
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01059618
Message ID:
01059618
Vues:
74
In a picklist I want to highlight a grid row when the user checks a checkbox. I set the DynamicBackColor with setall() and it works fine when the box is checked and the user moves off the record.

The code:
Thisform.grdPkUsers.SetAll("DynamicBackColor", "IIF(c_pkusers.pkmark, 8421631,16777215)", "Column")
However, when you first mark the checkbox the row does not get the color and if you de-select it, it then gets the color. Bass akwards to what the user expects. As soon as you move off the record the color is correct.
TIA
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