Ha, im sorry, my actual code is
dim lbl as label
do while ctr < 10
lbl=new label
lbl.setbounds(x...)
me.addcontrols(lbl)
loop
' i actually want to remove the 10 instances of the label.
I try me.removecontrols, but i only remove it the added controls and not the instances.
so please
|