Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie wants to test run a class based on a form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00503294
Message ID:
00503300
Views:
24
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform