Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nice puzzle
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00323436
Message ID:
00323943
Views:
15
>> If PemStatus(This, lcCheckProp, 5)
>> lcProperty = 'This.' + lcProperty
>> luReturn = &lcProperty
>> Else
>> If Type('This.Parent') == T_OBJECT
>> luReturn = This.Parent.muGetValue(lcProperty)
>> Else
>> luReturn = NULL
>> EndIf
>> EndIf
>
>Since your oChild is the same class as the oParent your code is always reading the property from oChild in the code above.

No, pnAmount is not a property of cSuper. Only oParent has this property.
Previous
Reply
Map
View

Click here to load this message in the networking platform