>Hi! I've a routine for my grid that does an autofill much like the autofill in excel.
>
>Mine works by starting at the active cell going downwards until a cell is not empty. I then work out the increment needed between the two values and autofill the cells inbetween.
>
>It would be nice if I could highlist a number if cells as in excel?
>
>Is this possible?
>
>TIA
>
>RC
>BSS
Robin,
You could utilize MultiselectGrid class for that :)
An alternative :
Since your selections would be under array limit (I hope:) create a DynamicBackColor expression like :
thisform.myGrid.Columns(x).DynamicBackColor = ;
"(iif(ascan(thisform.aSelected,myTable.PKId) > 0, 0x00FFFF, 0xFFFFFF))"
and play with the array.
Cetin