Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie wants to test run a class based on a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00503294
Message ID:
00503300
Vues:
23
This message has been marked as a message which has helped to the initial question of the thread.
Hi Justin,

Try this in the Command window, replacing MyFormClass with the name of your form class and MyClassLibrary with the name of the class library in which that class exists (but keeping the quote marks around them):

oForm = newobject( "MyFormClass", "MyClassLibrary" )
oForm.Show()

HTH.

>Hello,
>
>I am very, very green to VFP. I have created a Class based on a form and have put some of experimental coding behind it. How do I run this class as if it were a regular form so I can test the coding? I am running VFP 6.0 with Mere Mortal Framework and Stonefield.
>
>-Justin
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform