So it's working all around for you now?
>Found it, sorry
>
>
>>Hi there
>>
>>Ok I got it going but now as I scroll down the page it loses itself and give an error telling me the dynamic expression is invalid. Exactly why it loses it I don't know.
>>
>>Any Ideas???
>>
>>regards
>>Geoff Scott
>>
>>
>>>Hi
>>>
>>>I have tried that but cant seem to get it working.
>>>
>>>I added two pictures to the column and then put this line in DynamicBackColor
>>>
>>>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.