I believe, that in INIT it will not work for visible form too. Use return .f. instead.
>Hi Yuri,
>
>I call
ThisForm.Release() in ThisForm.Init()
,but it did not work when The form is hidden. I am using VFP 6
>
>Ali
>
>>Code should work for hidden form the same way as for visible form. How do you call Thisform.release(), Thisform.Destroy()?
>>
>>>Hi Everybody,
>>>
>>>I can not release a hidden form. I used
>>>
Thisform.release(), Thisform.Destroy()
>>>Inside that form. However, they don’t work.
>>>How can I do that?
>>>
>>>Thank you,
>>>Ali