Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do Form Linked question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00663320
Message ID:
00663772
Vues:
26
Gerard,

There are a few ways to accomplish this

1) use a FormsManager
2) scan the _screen.Forms collection to see if the form already exists and simply activate it if it does
3) Disable the button when the child form is launched, reenable it when the child form is closed. This is the technique I like to use. I have a special command button and child form class that deal with the details of passing a reference to the button to the form Init(). You should enable the Window menu item so that the user has an easy way to get to forms that endup behind each other.

>Sebastian, thanks for your reply, which makes a lot of sense.
>
>How would I keep the Formb from being reinstagated if the user clicks on it again? Is there some way of telling if Formb is activated , and then Maybe I might NOt call formB
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform