Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM object and Modal form
Message
 
To
29/11/2010 21:11:06
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01490949
Message ID:
01491045
Views:
60
>>I don't think you can create Windows global modal forms in FoxPro. You can create modal forms and they are modal to your EXE (if you're using EXE servers - DLL servers don't support Modal dialogs at all) but that won't apply back into the .NET host application.
>>
>>What I've done is to build forms that can float AlwaysOnTop so they sit ontop of other content which provides at least an illusion of modalness.
>
>Is there anything special that needs to be done to accomplish that?

No just make your forms desktop forms (ShowWindow 2) and AlwaysOnTop .t. while you're in the 'modal mode'. It's only a simulation but it should work. More importantly though you might want to re-think your UI and see if you can design without requiring modal states at all.

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform