>Hello Everybody !
>(VFP 9.0)
>I have a cursor xyz as a result from an sql-select
>text1,text2,colorno,text3
>a aa 128 qw
>b bb 65535 er
>c cc 65280 rr
>
>I have a grid with 4 columns
>
>thisform.grid1.recordsource = xyz
>
>Now i want that the backcolor of the textboxes in column3 are set to the value of the textbox
>(textbox1 in column3 of row1 red, textbox1 in column3 of row2 yellow ....)
>
>I don't know, how and where to code this ??
>
>grid1.column3.sparse = .F. ?????
>grid1.column3.text1.backcolor = grid1.column3.text1.value ?????
>
>Any help welcomed !
You need dynamicBackColor (and it's column's property not text1):
grid1.column3.DYNAMICbackcolor = "xyz.colorno"
Cetin