for each oCheck in this.Mycontainer.objects if lower(oCheck.baseclass) == 'checkbox' this.removeobject(oCheck.name) endif endforbut i found out that one of the objects was not removed
for i = this.mycontainer.controlcount to 1 if lower(this.mycontainer.controls(i).baseclass) == 'checkbox' this.mycontainer.removeobject(this.mycontainer.controls(i).name) endif endforwhy that ?