>>clear >>x=CREATEOBJECT("listbox") >>x.ROWSOURCE=REPLICATE('x',255)+'yz' >>? x.baseclass,LEN(x.ROWSOURCE),RIGHT(x.ROWSOURCE,1) >>x=CREATEOBJECT("combobox") >>x.ROWSOURCE=REPLICATE('x',255)+'yz' >>? x.baseclass,LEN(x.ROWSOURCE),RIGHT(x.ROWSOURCE,1) >>
Good job Fabio,
>now i understand while you answer Bernhart:
>- a bug : when you read ListBox.RowSource, it read 256 characters only
>
>and the Solution is:
>
>SET TEXTMERGE TO MEMVAR THIS.ListResident.ROWSOURCE NOSHOW ON
>
>The limit is 8192.
listibox.RowSource = m.String1000
work.listibox.RowSource = listibox.RowSource