Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Just one instance
Message
 
À
01/08/1999 14:50:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00248687
Message ID:
00248715
Vues:
16
>Hi Everybody !
>
>How can I enforce just one instance of a modeless form ?
>
>Thank you

Hi Antonio,

You'd do this sort of thing with your forms manager code. Simply check to see if the form is already running (via checking the _SCREEN's Forms collection). If the form already exists, simply call its Activate method.

In the case of an SDI application, you might want to look at my article that appeared in last November's FoxPro Advisor on creating single instance applications.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform