General information
Category:
Coding, syntax & commands
>Hi all,
>
>How do you set the back the back color of a column in a grid to a different color? In a a grid I have three columns, the first two columns controls' are should display in gray. I have tried manipulating the DynamicBackColor (bases on the examples in the KB and sample files) of the first two columns in the Init of the Grid as well as the in the When. What is the secret that I have missed. I know it has got to be simple!
>
>Thanks...
Hi Robert
Try the following in the refresh of the grid. It will reset anytime the form's refresh is called.
this.column1.DYNAMICBACKCOLOR = "IIF(some_codition, RGB(128,255,255),RGB(255,255,255))"
This always works for me.
HTH
MIKE
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only