Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM object and Modal form
Message
De
30/11/2010 16:16:33
 
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:
01491196
Vues:
53
Thanks!

>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)
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform