Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run toplevel form as modal form
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00792581
Message ID:
00792631
Views:
28
>>Hi !
>>When a form has showwindow property set to 2 (as toplevelform) VFP ignores
>>modal property of the form ( user can activate both windows ).
>>I want to run a form as a top level form but I want that the form show behavior of in-screen modal form. A user should close the form before he will be enabled to return to main window. How do this ? Thanks in advance.
>
>You can't do this with a top-level form. By the "main window" are you referring to the Windows desktop? If so, that would mean that if your app hangs, it would hang Windows, which isn't a good thing to do.

Hi Barbara ! Thanks.
By the "main window" I mean "main window" of my program.
To be maybe more precise - I have a program with outlooklike interface and I want to run a form outside this outlooklike window (like window with new email are showed in outlook) and contrary to outlook user MUST CLOSE the new form before I will let him to return to "main window" of my program.
This can be done through running this form as external program (run /n command) and using (in a loop) FinWindow function of window API.
I am curious if it can be done by using do form command or createobject() function.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform