From: Dan S. <dy...@fu...> - 2000-11-28 23:12:01
|
It is both mine and Pascal's opinion that no special inheritance system is needed for DynAPI. Just make careful attention, and structure using basic prototypes and you can do everything (except doing multiple inheritance). Don't overwrite variables, and you don't even necessarily need to overwrite methods, and everything works perfectly. The most simplistic solution is often the best, and I believe that is the case here. Dan On Tue, Nov 28, 2000 at 07:09:23PM +0100, Jordi 'IlMaestro' Ministral wrote: > I wrote some time ago rumbling about a problem when having multiple inheritance > and oncreate listeners. I said I was going to deal with the problem myself. So > far I must say I haven't found a way around the problem that satisfies me > enoght. I don't want to provide a solution that involves important changes in > the Dynlayer's method and I don't want to increase the amount of code a widget > has to include in order to be Dynlayer-inherited. > > I have finished porting my widgets to the latest release. I'll most probably > update my site and sumit the file tomorrow. In order to have them work, I edited > my BoldLayer and now it doesn't have an oncreate listener. This I did because > this is the only widget being extended, but this is not a good solution. I don't > want to find myself wanting to extend another widget in the future and facing > the same problems again. > > I'd like to have my old stuff operative again so I can concentrate on the new > one, so for now here's a working, yet not optimal, release. > > I have also put ';' at the end of all the lines in my code in order to make it > more formal and accomodate into the latest train of thought here. > > On the profesional side I'm about to start a rather big corporate website and I > have adopted DynAPI v2 as our technology. Call it commitment :) > > Simply informative, > > Jordi > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |