Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM object and Modal form
Message
 
À
30/11/2010 08:22:58
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:
01491188
Vues:
57
AlwaysOnTop will do that. You probably need to hook that up to a timer to pop it on top, then remove it after a second or so. I've found setting AlwaysOnTop requires a wait state before you can set it back.

ie. you can't do:
THISFORM.alwaysOnTop = .T.

THISFORM.alwaysOnTop = .F.
and expect the form to come to the top. DoDefault works sometimes, but it really needs a full Windows idle loop wait state for the window to get to the top.

+++ Rick ---


>Thanks. I agree, I was thinking of "simulating" modal but really just needed it to "come to the front" of a .net app.... the form is form display of information and just want it to pop on top more or less and not display behind all forms in a .net app. (The reverse of what I was doing last year)
+++ 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