Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prgs vs Methods
Message
From
25/01/1999 20:52:59
Koos Veel
Gamma Research
Aruba
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00176041
Message ID:
00180087
Views:
37
>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 ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform