Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form is behind the form from which it is called
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00672805
Message ID:
00672808
Vues:
23
>I call a form called collect from the lost focus of a text box on my startup form.
>
>It appears BEHIND the startup form. It has only just started to do this.
>
>What is the problem.
>
>Colin

Make sure the startup form is alwaysontop = .F.

Then in collect.show()
LPARAMETERS nStyle
DECLARE INTEGER SetForegroundWindow IN WIN32API LONG luHwnd
SetForegroundWindow(This.HWND)
Then you can call collect.show() from anywhere and it will bring it to the front.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform