Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid DynamicBackColor using a checkbox in the grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grid DynamicBackColor using a checkbox in the grid
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01059618
Message ID:
01059618
Views:
73
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
Next
Reply
Map
View

Click here to load this message in the networking platform