Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modeless forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00248590
Message ID:
00248600
Vues:
19
>No we are issuing a do form xx name xx linked
>
>This app before was a modal app we are trying to change it to modeless by the users request.
>
>Shawn
>TIA

If the DO FORM is being called from a method, as soon as the method code has finished running, the name xx, which is a local or private variable, goes out of scope. So, the reference xx no longer exists so the form is released.

I would just have DO FORM MYFORM and leave off the rest. If you must have a name for referencing, you have to declare the name as a public variable. There are other ways of doing this but are quite a bit more involved.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform