New topic: Constructors in RB
<http://forums.realsoftware.com/viewtopic.php?t=45367> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Carharttguy Post subject: Constructors in RBPosted: Sun Sep 16, 2012 3:50 pm Joined: Wed Sep 17, 2008 2:45 pm Posts: 184 Hello, While creating a constructor in a sub-subclass I stumbled upon this message: Quote:// Calling the overridden superclass constructor. // Note that this may need modifications if there are multiple constructor choices. // Possible constructor calls: // Constructor() -- From aRectControl // Constructor() -- From aControl Super.Constructor Simple question, Which one will be calle? the aRectControl.constructor() or aControl.Constructor? Class hierarchy is this way: aControl -> aRectControl -> The Class where I saw this message I hope it is the aRectControl.Constructor(), because this has already a super.Constructor in the .Constructor method. Thanks in advance! _________________ My native language is not English. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
