Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing my classing - where do I: SET CLASSLIB to?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00094493
Message ID:
00094536
Vues:
21
>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?>

The best way to test them is by running the form in the application. When you are running a CBMM application in debug mode (meaning, the file "debug.txt" exists in your application's root directory) the framework will SET CLASSLIB TO ... ADDITIVE all visual class libraries in your project.

Just follow the instructions in the Developer's Guide for adding a new menu bar and call your new screen from the new bar.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform