Ok Peter,
You have asked for a lot, so here goes. on your number a,b for the current mark
you can used the 'init' like so :
THIS.SetAll("DynamicBackColor",;
"IIF(MOD(RECNO( ), 2)=0,RGB(255,255,0),RGB(255,255,255))","Column")
this will give you a color code every other record in the grid.
You can used afterrowchange to highlight the complete line with the above line with a different color and no MOD.
c. You can set the grid in the properties to be read-only and that way the complete grid - all rows and all columns will be read only. Good luck
Evans Carl
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°¤º°`°º¤ø¤º°¤º°
Carl Evans
CEO & President
System Answers Consulting, Inc.
MCSD .NET, ASP.NET, C#.NET, VB.NET,