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:
00323589
Views:
20
> 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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform