>for lnI = 1 to alen(thisform.arrImages) > thisform.RemoveObject(thisform.arrImages[lnI]) >nextYou can be certain ;-)
&& to add images with m.thisform local i, ImageCount ImageCount = 5 =.AddProperty('ImageCount', m.ImageCount) =.AddProperty('ImageArray[' + transf(.ImageCount) + ']') for i = 1 to .ImageCount do case case !.AddObject( strtran('ImageArray[?]', '?', transf(m.i)), 'Image') otherwise with eval('.' + strtran('ImageArray[?]', '?', transf(m.i)) ) =.move(0, m.i * 50, 50, 50) .Visible = TRUE endwith endcase endfor endwith && To remove them with m.thisform local i for i = 1 to .ImageCount do case case !inlist(vartype(.ImageArray[m.i]), T_OBJECT) && There's one gotcha. && They cannot be removed individually, && since their names are not ImageArray[1], ImageArray[2], ... && but the name of each and everyone of them is ImageArray case !.RemoveObject('ImageArray') assert FALSE endcase endfor endwith