>Hi Everyone:
> I am working with the grid and I want to gray out a selected row in the grid when the user clicks on that row.
>
>For Example:
>ThisForm.Grid2.SetAll("dynamicforecolor", ;
> "IIF(!Ctemp.colactive, RGB(192,192,192), RGB(0,0,0))", "Column")
>
>This grayed out the entire grid, instead of graying out the selected row.
>
>Thanks very much
>MA
Mahmood,
Download my GridHighlighter class (file#
9798 in Files Section Classes-VCX) set it up with your grid, set it's cHighlightColor property to "RGB(192,192,192)" and forget about your problem.
:)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison