Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM object and Modal form
Message
 
À
29/11/2010 21:11:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01490949
Message ID:
01491045
Vues:
61
>>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform