>VFP5, latest update...
>
>I have a grid, and the client wants 4 different colors to show status. This is no problem for unselected cells, using DynamicForeColor and DynamicBackColor with SetAll().
>
>However, whenever the client selects a cell the color changes to the textbox backcolor/forecolor. They want to have the color in the active cell match the inactive cell colors so ONLY the cursor shows which cell is active. Whenever I try an IIF() statement in the forecolor I get an error. Any ideas? Have I missed something obvious?
>
>Also, since the MUST select the cells even though they are read-only, I need to have the same colors showing on selected text.
>
>TIA
>Barbara
In the GotFocus you can change the colors of BackColor and ForeColor to the same as the grid or do it in the Grids Init.
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers