Hi Galia,
This is because there's still a reference to the list box and therefore it's not released. Because the list box can't be released, neither can its container - the form.
In the destroy of the form, you could put
oThis = .null.
release oThis
Cheers,
Andrew
>Hi,
>
>On a form i past a Object (Combo, list...),
>After on a Command1.init I do this code :
>
>PUBLIC Othis as Object
>Othis = Thisform.list1
>
>
>
>After that when I release my form, nothing append why ???
>
>Thanks for your help
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.