Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing my classing - where do I: SET CLASSLIB to?
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00094493
Message ID:
00094599
Views:
23
>I've created a business object called Stats (in abizness). I also have a form called shoplistform (in aforms). How do I test these objects? I tried CDing into my application directory and setting CLASSLIB to LIBS\abizness (and to LIBS\aforms) and tried directly creating the object using oStats = CREATEOBJECT('stats') which fails with "Class definition not found". Which, I guess doesn't really surprise me since so much of the code relies on other classes for things to work. My question is, how do I test these objects?
>
>-Paul

Paul,

To complement the answers that were given to you, you might do the following tests. First run the application. From the menu, call the command window and:
xx = CREATEOBJECT("Stats") && you won't see anything on you monitor if iit's OK. If it's not, you'll see some sort of error
if the object got instantiated, release it: xx.RELEASE()

At this point you know you have a clean bizobj, it's time to test the form:
DOFORM("ShopListForm")

When you have all that working, test if from the menu and eventually the toolbar.

José
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform