* Test --- Test Listbox Picture array Lparameters tnItems Release all except tnItems Public Array myRow(tnItems),myPicture(tnItems) Public go Do PictureTest With tnItems return Procedure PictureTest Lparameters tnItems Local ln go=CreateObject("Form") go.AddObject("myListBox","listBox") With go.mylistBox .Visible=.T. .Clear .Width=200 .height=200 .RowSourceType=0 .RowSource="" For ln=1 To tnItems myRow(ln)="my listbox text" myPicture(ln)="..\bmp\grdUnchecked.bmp" EndFor .RowSourceType=5 .RowSource="myRow" .ListIndex=1 For ln=1 To tnItems .Picture(ln)=myPicture(ln) EndFor EndWith go.Show() return