>I am trying to fill a grid's properties at run-time (since the record source has to change). I am loading the grid column properties in to a form array property, but am having trouble when I try to add a new editbox in to a column. I need to have the scroll bars in the edit box. This is the code:
>
>
>thisform.Pageframe1.Page2.grdList.recordsource='mgmtst'
>thisform.Pageframe1.Page2.grdList.Columns[lnCnt].Addobject('edtDescr','vcgridedit')
>thisform.Pageframe1.Page2.grdList.Columns[lnCnt].Currentcontrol='edtDescr'
>thisform.Pageframe1.Page2.grdList.Columns[lnCnt].controlsource='descr'
>
>
>When I run the form, this column does not show any data. It is just grey. I've turned sparse on / off with the same result.
>
>any ideas?
>
>thanks
>
>bonnie
You need to make the EditBox visible when you add it.