Yes,
VFP doesn't support multiple inheritance, but... VFP knowns "::" - Scope Resolution Operator
EVALUEATE(Thisform.Class+"::FormMethod()")
MartinaJ
>The button can't inherit form code. I think it's telling you that the button is a member of the form container.
>
>VFP doesn't support multiple inheritance (thank goodness)
>
>
>>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?