Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a class' parent method from another object's met
Message
From
01/06/1999 10:41:17
 
 
To
01/06/1999 04:15:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00224571
Message ID:
00224925
Views:
16
>You could hard code it using the :: syntax, but I would not recommend that - it's a great way to make it all break when you change something.
>
>I think this really comes baack to the original design, you needed to put in some Before() and After() hooks so that you could extend it later.
>
>Your idea of passing a parameter works, sure, but I'd still prefer to have separate methods, because, well, er, because I always do it that way :-)
>
>[sitting in the Internat Cafe at "Conference to the Max", Arnhem]

Hi Paul,

Thanks for the reply. Yeah, using the :: syntax didn't work (at least not the way I was doing it) and I didn't really like that solution anyway. As to the passing parameters vs two separate methods, I prefer the parms becuz (as I mentioned in my reply to Bob) it keeps all the functionality in one method. I guess that one is a matter of personal preference. < g >

Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform