AW: $O - inherited class variables
Rudolf Bargholz
rudolf at bargholz.ch
Wed Oct 20 14:34:12 UTC 2021
Hi Jean-Marc,
Class variables cannot be inherited, but instance variables can. In your child class, you ought to see any inherited instance variables as blue variables. Right-mouse-click on the variable, and override the variable. You can not access the inherited variable and the overridden variable using the VariableName, or $cinst.VariableName. Note: this can feel a bit strange, as both variables are discreet and can have different values, even though the variable is in the superclass as well as in the subclass.
Hope this helps a little.
Regards
Rudolf Bargholz
-----Ursprüngliche Nachricht-----
Von: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> Im Auftrag von jmv
Gesendet: Mittwoch, 20. Oktober 2021 16:09
An: Phil (OmnisList) via omnisdev-en <omnisdev-en at lists.omnis-dev.com>
Betreff: $O - inherited class variables
Dear listers,
How to override programmatically an inherited class (or instance) variable ?
Thank you
Jean-Marc
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list