>How to remove all the objects inside the container. I've tried for each but it doesn't work. pls. help
WITH THISFORM.Container1
ln = .CONTROLCOUNT
FOR N = ln TO 1 STEP -1
.REMOVEOBJECT(.CONTROLS(N).NAME)
ENDFOR
ENDWITH
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison