>What determines if a grid is of the "ledger style" I looked through the grids properties and didn't see anything apparent. I want to be able to set the grid to ledger style at runtime and therefore can not use the builder.
>
>Thanks
See DynamicBackColor.
Usually a ledeger grid uses an expression similar to :
iif(recno()%2=0,rgb(255,0,255),rgb(255,255,0))
mygrid.Setall('DynamicBackColor',;
iif(recno()%2=0,rgb(255,0,255),rgb(255,255,0)),'Column')
It works for nonordered grids
Cetin