>Chuck,
>
>Shouldn't it be
>
>This.SetAll( "Dynamic...
>
>You are in the grid, and the Grid.Columns are the controls with the DynamicBackColor.
>
>>* Grid1 InitEvent
>>ThisForm.SetAll("DynamicBackColor", ;
>> "IIF(RECNO('auth') =ThisForm.nGridRecno, RGB(193,255,255),"+ ;
>> "RGB(255,255,255))", "Column")
>>
ThisForm.SetAll("Dynamic...
also works, however you are right, and it will be more clear what you are really doing if you place in Grid.Init()
This.SetAll(...
Chuck, change the code in Init() to:
ThisForm.SetAll("DynamicBackColor", ;
"IIF(RECNO('auth') # ThisForm.nGridRecno, RGB(255,255,255),"+ ;
"RGB(193,255,255))", "Column")
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