Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a Method from an inactive form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00512457
Message ID:
00512786
Vues:
9
One method is to executable the following code

do form Form1 noshow. This will run the form without displaying.
?Form1.PrintMe I created a method called Printme which prints some text.

Ideally, you should move the code from the form into a class or prg. It sounds as if this form method has muliple uses. If this is the true, I would move the form method into a class and update the form to call the newly created class.

>I want to use a method from an inactive form. How do you I call this method from a PRG file?
>
>Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform