Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Inheritance??
Message
From
27/01/2016 15:55:05
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
 
To
27/01/2016 15:46:30
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01630304
Message ID:
01630306
Views:
166
This message has been marked as the solution to the initial question of the thread.
>I'm looking at and trying to understand someone else's code.
>
>The situation:
>
>- An SCX form based on a form class frmAllBase
>- On that SCX form there's a Command Button (cmdXLS), based on a hierarchy of command button classes
>
>Most of cmdXLS's methods inherit from one of its parent command button classes (as expected). But some of them appear to inherit from frmAllBase (see attached image).
>
>frmAllBase is a Form class (with its own inheritance hierarchy) and is no way based on any of cmdXLS's parent command button classes.
>
>Can anyone explain what's going on? Is this multiple inheritance of some kind, and if so how was it set up?

There is a class frmAllBase and it has the cmdppzBase on it. So if the dev puts code in the click of the button on the form, you see that, frmallbase, and then on down the button's hierarchy.

Does that sound right?
Charlie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform