marcel Active Member Licensed User Longtime User Dec 8, 2014 #1 Hi, Can i use Inheritances on classes? Or something (psedo code). class MyPanel from MainPanel Public sub UpdateGui (if exist overwrite) Super UpdateGui 'do some magic on the panel; end sub end class
Hi, Can i use Inheritances on classes? Or something (psedo code). class MyPanel from MainPanel Public sub UpdateGui (if exist overwrite) Super UpdateGui 'do some magic on the panel; end sub end class
Erel B4X founder Staff member Licensed User Longtime User Dec 8, 2014 #2 No. However you can use composition instead. Hold a reference to the "super" class instance and delegate the call if needed. Upvote 0
No. However you can use composition instead. Hold a reference to the "super" class instance and delegate the call if needed.