Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form flashes then vanishes...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00135765
Message ID:
00135815
Vues:
10
>Larry,
>
>Your object variable is going out of scope and wehn it does so does the form it refers to. There are a number of ways to fix this, but the best way is to have a form manager object. In your form manager you add a launchform method. All forms are launched by calling the launch form method of teh from manager.
>
>The form manager also has an array property that is used to store the form references, so launching a form becomes;
>
>THIS.oForms() = CreateObject(...)
>
>SomeNumber is the next entry in the array. You also have to provide a way to remove forms from the collection.

Could you provide (or point me to) an example of some form manager code?

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

Click here to load this message in the networking platform