Hi Plinio ---
By definition, a modal form is not supposed to be launching other forms. I would seriously consider restructuring your app so that any form which needs to launch another is modeless. I have had unpredictable results in the past launching modal and modeless forms from a modal form.
>Hi John, I hope you can help with one of your fast answer
>
>In my app. from form1 I run other forms. Sometimes (1 or to per day)
>called form (form2,form3,etc) locks. Yes it locks. Don't really know why. Just one form locks I call another one and works fine.
>
>
>Note: all forms are modal, AllwaysOnTop = .t.
>I tried to see the active form with a ON KEY LABEL CTRL+f3 wait window _screen.ActiveForm.Name and it return form1.name when realy the other form (When it locks) is active, that what I see
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05