Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prgs vs Methods
Message
De
25/01/1999 20:52:59
Koos Veel
Gamma Research
Aruba
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00176041
Message ID:
00180087
Vues:
36
>Koos,
>
>In this case I would define a pay slip printing class in a PRG that was a subclass of one in my VCX. I would exclude the PRG and do exactly what you are doing, only the new PRG would simply be a redefinition of the payslip printing class. In this fashion everything is still in methods of the objects and thus avoids the problems related to calling out to a Proc.

Jim,

Do I understand that you mean with a "printing class" that you would create like a custom object with one method with basically the text of the PRG ? When I would do "CREATEOBJECT" from the "printing class" in the PRG then I would be stuck with the method in the printing class, but how then would I "redefine" the payslip printing class, since the method is completely different.
What are the problems with calling out to a Proc ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform