I don't see why you need 2 checkboxes
>sorry Sergey for my poor english....
>
>
https://www.dropbox.com/s/f6hm02iyssgumxz/2013-01-29_20-31-30.jpg>
>here i have a grid.
>in column2 i have a checbox with a booleen controlsource ( .T. or .F. )
>
>when the value is .T. a green picture is visible ( chk_cross0 )
>when the Value is .F. a cross picture is visbile ( chk_cross1 )
>
>do you understand ?
>
>bernhart
>
>
>>I have no idea what you are doing or want to do
>>
>>>
>>>
>>>PROCEDURE grid1.Click
>>> LOCAL lnRelCol, lnRelRow, lnWhere
>>> STORE 0 TO lnWhere, lnRelRow, lnRelCol
>>> This.GridHitTest(Thisform.nGridX, Thisform.nGridY, @lnWhere, @lnRelRow, @lnRelCol)
>>> IF lnWhere = 3
>>> IF lnRelCol = 3
>>> This.Columns(lnRelCol).check1.Value = NOT This.Columns(lnRelCol).check1.Value
>>> ENDIF
>>> ENDIF
>>> ENDPROC
>>>
>>>
>>>
>>>if you have 2 controls in your column 3 ?
>>>
>>>DynamicCurrentControl = [IIF( lv_AgendaPhar.lselect = .T. , 'chk_cross0' , 'chk_cross1')]
>>>
>>>what change in your code ?
>>>
>>>
--sb--