>>Form.Init()
>>
>>...code...
>>
>
>local nome_form
>>nome_form = thisform.name
>>modify window &nome_form. nozoom nogrow
>>
>>thisform.refresh()
>
>What's wrong with
>
>
ThisForm.MaxButton = .F.
>ThisForm.BorderStyle = 1
>
>?
Yes, I've found that mixing the old and new commands and object references together were a primary cause of C...5 errors. At least it was in VFP6, but I don't do that anymore, so I don't know if that's still true or not. Sure sounds like it is...