OCLOperators base
(Created page with "If you have a method OnCreate() in a superclass - and you override it in a sub-class. write self.OtherCallsBeforeCodeInOverridenClassIsDone(); self.'''base'''.OnCreate();...")
 
(Updated Edited template to July 12, 2025.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If you have a method OnCreate() in a superclass - and you override it in a sub-class.
<message>Write the content here to display this box</message>
If you have a method OnCreate() in a superclass - and you override it in a sub-class,


write
Write:
  self.OtherCallsBeforeCodeInOverridenClassIsDone();
  self.OtherCallsBeforeCodeInOverridenClassIsDone();
  self.'''base'''.OnCreate();  
  self.'''base'''.OnCreate();  
  self.OtherCallsAfterCodeInOverridenClassIsDone()
  self.OtherCallsAfterCodeInOverridenClassIsDone()
[[Category:OCLOperators]]
{{Edited|July|12|2025}}

Latest revision as of 05:56, 20 January 2025

This page was created by Hans.karlsen@mdriven.net on 2018-07-21. Last edited by Edgar on 2025-01-20.

If you have a method OnCreate() in a superclass - and you override it in a sub-class,

Write:

self.OtherCallsBeforeCodeInOverridenClassIsDone();
self.base.OnCreate(); 
self.OtherCallsAfterCodeInOverridenClassIsDone()