I have 2 forms, both with a grid on it with the following command in the grid's Init() event:
*--Alternate white and green records
THIS.SetAll("DynamicBackColor", "IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255) ;
, RGB(0,255,0))", "Column")
It does just what it's instructed, except when a grid column uses an editbox instead of the usual textbox as the CurrentControl. On one form, it displays the appropriate green color but doesn't change the background color when selected, like other textboxes. The grid column on the other form doesn't chang the color to green at all. I have double checked my code to make sure I'm not changing the color again somewhere. Any clue why the different behavior?
It's "my" world. You're just living in it.