>In an program i execute the first form with the propierties:
> modal form, as top level,...etc.
>In this form i call other form :
> do form2 name form2 && this form2 is in top level form, modal ..etc.
>In this secuence i have 7 forms modals in my application. In the 7th, i have a botton "Cancel" in the code of this i have: form2.release
>This sentence work ok release the form7, but the behavior of the other forms
>is not correct, they are "no modal", i can click in the first, execute a bottom
>in it, in the 6th.
>Would you help me with this behavior, why my forms loose the modal propierties??
Quote from VFP help file:
"Note that a top-level form is always modeless, regardless of the WindowType property setting"
----------------------------------
António Tavares Lopes