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.
Column1.DynamicBackColor=thisform.gridhook()
Column1.ControlSource=invcont.wotype
thisform.gridhook()
Thisform.grdInvcont.Columns(1).typeicon.icon.Picture=icotypes(AT(invcont.wotype,'UGP'))
Return thisform.grdInvcont.Columns(2).Backcolor
Nothing to unusual in that and it displays wonderfully.
Unfortunately, when I click on the icon and then click on another the previous icon displays as the same as the current one. I assume this is because my hook is getting called during the lostfocus phase.
Because all I have is a container with a picture in it I dont have some of the methods other objects have.
The question is what exactly is going wrong and how do I correct this???
regards
Geoff Scott
May all your weeds be wildflowers