Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is the Application already running???
Message
 
À
24/12/1999 02:41:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00308264
Message ID:
00308400
Vues:
44
Marcia,
Great function. You can avoid any flicker of the title with this little change to the code;

>
...

*** Get the current Screen Caption
lcTitle = _Screen.Caption

<strong>_screen.LockScreen = .T.</strong>

*** Change it to avoid finding the current instance
_Screen.Caption = SYS(3)

*** Now locate another instance
lnHWND = FindApp( NULL, lcTitle )

*** And restore the original caption
_Screen.Caption = lcTitle

<strong>_screen.LockScreen = .F.</strong>

...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform