Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Biz Objects..create programatically or with Class builder
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement