Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent open form from re-opening
Message
De
10/08/1998 13:09:35
 
 
À
09/08/1998 11:23:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00125109
Message ID:
00125320
Vues:
16
>I have an application that uses a button on several different forms to open a different form. I can prevent the form from opening if it is already open with the following code in the click method of the button:
>
> if !wexist(<>)
> do form ...
> endif
>
>My question is, if the form is already open, how can I activate it without re-opening it?

Use the Activate() method. If you did DO FORM xxx NAME zzz LINKED, then you would do zzz.Activate().
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform