Many thanks to everybody who has replied - I had come across the :: operator many moons ago but had forgotten about it. Paul Newton
-----Original Message----- From: ProfoxTech <[email protected]> On Behalf Of Jürgen Wondzinski Sent: 03 December 2019 16:10 To: [email protected] Subject: AW: Calling code in parent's parent class Sent by an external sender ------------------------------ Sounds a little bit like "bad design", but if life demands such constructs.... You can always get the code from the upmost level by using the "QuatroDot" operator :: like class::MyMethod() If you would need one in between, then you need to do some clever IF branching in the beginning of each level's code by providing a parameter when calling the method: PROC MyMethod LPARAMETER lSkipIt IF lSkipIt RETURN DODEFAULT() ENDIF && regular code goes here wOOdy -----Ursprüngliche Nachricht----- Von: ProFox <[email protected]> Im Auftrag von Paul Newton Gesendet: Dienstag, 3. Dezember 2019 17:00 An: '[email protected]' <[email protected]> Betreff: Calling code in parent's parent class Hi all Let's say that I have the following situation: GreatGrandParent -> GrandParent -> Parent -> Class In Class I want to bypass the code in Parent but call the code in either GrandParent OR GreatGrandParent. Is this possible and, if so, how? Many thanks Paul Newton --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/by5pr02mb685250eaf77362d16c71af04a1...@by5pr02mb6852.namprd02.prod.outlook.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

