>I am using vfp6/sp3
>
>Create a form
>make it modal
>put a button on it that makes it not visible:
>ie thisform.visible = .f.
>run the form
>
>and see what you get
OK, I see what you mean now. I had put both a thisform.Visible=.f. and a thisform.Visible=.t. in the click of the button, and it stayed modal. If you do it from the command window, it hides the form, and returns to the command window. Then if you make the form visible again, it IS non-modal now.