>What method would someone put the commands like
>
>this.rowsourcetype=5 && array
>this.rowsource=my_array
>this.visible=.t.
>
>My trouble is that if I make my array from the commandline a combo box on a form work fine, but when I try to make the array within the init method of the control itself, the combo box is always empty
>
>here is the actual code. and I woud like to put this code in one of the methods of the control
>Can this be done ?
>
>
>m_atlist="*.*"
>if adir(m_lll,m_atlist)=0
> this.visible=.f.
>else
> this.rowsourcetype=5
> this.rowsource=m_lll
> this.visible=.t.
>endif
>
>Thank you ..
>
>Bob Lee
Make your array a form property and then use that property in your ADIR, control source, etc.