Hi All,

Does anyone know of a method to properly dispose of a form in KiXforms classic? I've tried to use .dispose or setting the variable to nothing but I have no luck, the memory is not released. I've even tried recursing through the controls and tried to dispose all of the child controls before disposing of the parents, but again I had no luck.

This is a problem for me as I have a pretty large application where people can open up forms that have lots of controls. What can happen after repeated usage is that the GUI goes gooey and I'm pretty confident it is due to memory usage. I'm 95% percent confident that this is simply a bug in KiXforms that I won't be able to escape... but you never know. If I'm truly lucky Shawn may have something to say ;\)

Just step through this code and watch task manager, the memory just keeps going up and up.

 Code:
Break on

$s = CreateObject("Kixtart.System")
Debug on
For $i = 1 to 100
	$f = $s.Form
	$f.Dispose
	$f = ""
Next


Any ideas?