Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Biz Objects..create programatically or with Class builder
Message
De
03/01/2001 06:41:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Biz Objects..create programatically or with Class builder
Divers
Thread ID:
00458828
Message ID:
00458828
Vues:
55
I am considering using a business object for part of an app.

Up until now I have always created my procedures as methods on the form or called them from procedure libraries.

I sub classed the custom object and dropped a copy of the sub class onto the form I want to use.

However I am finding working with this class cumbersome because all the new code I am adding to the class belongs in its parent class and not the instance I am working with on the form.

Using Ken Levy’s superclass utility I can make reasonable progress but it is still infuriating.

I could write the entire biz object programmatically I guess (with additional work!) , but then I would be left with the problem of getting the class visible in my class library.

I assume I have somehow gotten the wrong end of the stick here somehow and there is an easier way I have overlooked.

All advice gratefully receivedJ even if it is of the “you don’t get n-tier without some pain variety”
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform