>>>>C/S = Client/Server
>>>>OOP has the ability to make changes in one place and have them reflected throughout the application via inheritance.
>>>---
>>>Is inheritance the only plus with OOP?
>>
>>No. There are a few other things that must be present. Polymorphism, etc. But, lack of in heritance is the biggest thing that is lacking in VB that makes in non-OOP. If you need more info on OOP, you should look at
www.microsoft.com/vfoxpro and at MS KB article Q141304.
>
>Craig,
> A few years back I was programming in MS Visual C++. I remember coming across an article on MSDN where MS said to stay away from inheriting more than 2 levels away from the superclass. example,
>
> Superclass--->Inherited Class--->Inherited Class
>
>They said there was a speed degradation if you tried to inherit anymore after that. I haven't looked into for awhile, have you heard anything similar about this?
>
>Mark A. Struck
When VFP 3.0 came out I heard that someone wanted to know when a preformance hit got noticeable enough. He got to something like 300 levels. I haven't tried this myself, but it should be easy enough to test.
The other thing to consider is the complexity of the class. I would think that the more complex the class, the longer it takes to instantiate a subclass.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer