Information générale
Catégorie:
Programmation Orientée Object
>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
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