General information
Category:
Coding, syntax & commands
Title:
Send msg from an object's child to grandparent
My application object (call it oAPP) base class is container. I've added properties for various objects, including a user (aka security) object (call it oActiveUser). So I have a hierarchy (?) like this: oAPP.oActiveUser is an object created like this:
oAPP.oActiveUser = CREATEOBJECT( 'Login' )
Now, in a method for the oActiveUser I want to refer to a parent method like this:
this.parent.SomeCode()
this.Parent is an expression that can't be evaluated.
1. Which hemasphere of my brain is gone?
2. If neither, than how can I refer generically to the parent?
3. Is my oApp's property oActiveUser "just" a reference (i.e. pointer) to the CREATEOBJECT object?
TIA.
(p.s. on the road, searching kb is hard. Sorry!)
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only