iif(invcont.wotype='U',iurg,igen)
>
>set sparce to .F.
>
>but I always get the same icon regardless.
>
>I am not sure what I am doing wrong???
>
>Regards
>Geoff Scott
>
>>>Hi
>>>
>>>I have a grid in which I am displaying icons for each different type of order
>>>(in this case 3 types). I create a container and place my picture in it and
>>>then use a 'gridhook()' function via the dynamicbackcolor property of the
>>>column.
>>
>>Instead of hooking DynamicBackColor, why don't you try using DynamicCurrentControl? Are the number of different pictures low enough to place them all in the column, and then select the one you want to show? Sparse = .F. should make this work.May all your weeds be wildflowers