Mashiane Expert Licensed User Longtime User Nov 28, 2017 #1 Hi there In self referencing classes. How does one get the parent class without having to pass it as variable? Is there something like .Parent perhaps? Thanks
Hi there In self referencing classes. How does one get the parent class without having to pass it as variable? Is there something like .Parent perhaps? Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 28, 2017 #2 Mashiane said: Is there something like .Parent perhaps? Click to expand... No. There is no such thing. There can be many "parents" to any given object. You should pass Me to the Initialize method and store it in a global variable named Parent. Upvote 0
Mashiane said: Is there something like .Parent perhaps? Click to expand... No. There is no such thing. There can be many "parents" to any given object. You should pass Me to the Initialize method and store it in a global variable named Parent.