Hi Jeffrey,
This is a bug in FoxPro. It is in the MSDN as Q232130. Basically, the work around is to toggle the closeable property of the _SCREEN. There is sample code on the MSDN site. Here's a link:
http://support.microsoft.com/support/kb/articles/Q232/1/30.ASPThe workaround works. We've implemented it in several apps.
Marty
>i have a main form, declared as "as top level form" and i disabled the main
>visual foxpro window, so my main form is the parent. i have a child forms
>which declared as "in top level form", now if there is any messagebox that
>would appear which it was being declared inside the child form, the main
>form's close box will disable what's wrong? I'm using
>active-X(Toolbar,datepicker,common dialogs etc) in all this forms, and all
>this forms are modals.
>
>Thanks in advance...
>
>Jeffrey
Marty Smith, CSQE