Le 15/04/2014 03:56, Bruno Félix Rezende Ribeiro a écrit : > Hello all! > > Suppose we want an array of variants which has the nice property of > raising an event after any modification, like addition or removal of > ...
Hi, I have just came back from "holidays", and I haven't read all the pending mails yet. I just want to say that if you have problem with Gambas inheritance and "SUPER" limitations, you can replace inheritance by "composition". I mean : instead of inheriting "Variant[]" or reimplementing it, you can create your own "MyVariantArray" class that embeds a Variant array as a private dynamic variable. Then you will be able to do almost everything you need. Another point: It's not a good idea to reimplement native array classes. These classes must be as fast as possible, they are used everywhere. I don't think that you need an "Update" event for every array in your application, do you? Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user