Jim,
Look at the code you are firing in the Destroy(). I have a form that builds a calendar of 180 days using a textbox class. The form releases in subsecond time. If I from the commandwindow RemoveObject() the container that holds the 200+ objects it takes less than a second. It can take several seconds if the Locals window is open and the form under test is expanded showing the container.
If you set form.LockScreen = .t. during the removal you'll save 21 repaints, but I can't quite imagine that they take that long unless you have something like an image on the form.
>Is it my imagination or does VFP (5.0a) take an inordinate amount of time to remove several objects from a from programmatically?
>
>Last time I clocked it, it took 4 secs+ to remove a container with 21 contained controls.
>
>I can make the process appear faster by setting the container's visible property to .F., but is there a way to actually make it faster?