>>>
>>>The idea is to have two containers in the column - one for the row that has the focus, and the other one for the other rows
>>>
>>
>>That's a cool idea. I'll try it out.
>
>The combination of ideas seems to work really well and using 2 different controls really simplified the logic inside of the container control as I didn't need to make sure to hide/show controls based on focus.
>
>I added a form method named GetRowControl that does something like this:
>
>
>IF ThisForm.grdSample.ActiveRow = RECNO("cursorName")
> ThisForm.grdSample.Column1.ctrSample.cboSample.Refresh()
> ThisForm.grdSample.Column1.ctrSample.Update()
>
> RETURN "ctrSample"
>ELSE
> ThisForm.grdSample.Column1.ctrSample_RO.cboSample.Refresh()
> ThisForm.grdSample.Column1.ctrSample_RO.Update()
>
> RETURN "ctrSample"
>ENDIF
>
>
>Then set DynamicCurrentControl to: ThisForm.GetRowControl()
>
>The refreshes seem to be required as it wasn't showing the bound values without it.
>
>Thanks - I appreciate it.
You're welcome
Gregory