>This is my first use of a list box so it comes as no surprise to me that I have a problem. Houston... I have a problem...
>
>I have a multi-column list box. I use the commands:
>
>LOCAL pnCount, MyID, MyName, MyPhone
>pnCount = 1
>
>FOR i = 1 to 100
>THISFORM.lstMyList.AddItem (MyID, pnCount, 1)
>THISFORM.lstMyList.AddItem (MyName, pnCount, 2)
>THISFORM.lstMyList.AddItem (MyPhone, pnCount, 3)
>ENDFOR
>
>The correct variables are going into the correct columns, but each time I do the AddItem command the item moves down one row. So I end up with a mess (with each item in the right column, but each on a row of its own). Help please? Thanks much.
You should use AddListItem to fill multi-column listbox.
Edward Pikman
Independent Consultant