Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid DynamicBackColor using a checkbox in the grid
Message
From
17/10/2005 13:03:12
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01059618
Message ID:
01059640
Views:
11
>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
* checkbox valid
Thisform.grdPkUsers.Refresh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform