>1-create a main form: as top level, show in taskbar, MDI
>2-create a child form: MDI, in top level,maximized
>3-create a modal child form: MDI, in top level,maximized
>4-call child form from main form
>5-call modal child form from child form's init section
>6-close modal child form
>7-you will see vfp's crash
>
>if anyone interest it, I can send my sample...
Metin,
Does it "lock-up" when a messagebox, instead of a MODAL, is called from the MDI child form.
Try to give focus to some object on the MDI child (like a button or text box) with a setfocus() before the MDI child calls the MODAL form. Maybe the init state is not complete when the MODAL is called.
Imagination is more important than knowledge