for each oControl in thisform.Controls if oControl.class = "Mergeclass" thisform.RemoveObject(oControl.name) endif endfor