Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-06-11 Thread gian
Public Sub Form_Close() Settings.Write(Me) Settings.Save() End Regards gianluigi Il 22/04/2014 17:28, Bruno Félix Rezende Ribeiro ha scritto: > Em Tue, 22 Apr 2014 11:50:45 +0200 > Benoît Minisini escreveu: > >> I have just came back from "holidays", and I haven't read all the >> pending

Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-22 Thread Bruno Félix Rezende Ribeiro
Em Tue, 22 Apr 2014 11:50:45 +0200 Benoît Minisini escreveu: > 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".

Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-22 Thread Benoît Minisini
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 pendi

Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-16 Thread Tobias Boege
On Tue, 15 Apr 2014, Bruno F??lix Rezende Ribeiro wrote: > > AFAIK, you are right that we cannot call Super._put() directly when > > we want to pass a variable number of arguments. For that, we need to > > manipulate the Gambas stack to push that stuff and then call the > > method. That's precisely

Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-15 Thread Bruno Félix Rezende Ribeiro
Em Tue, 15 Apr 2014 12:55:51 +0200 Tobias Boege escreveu: > If I was to sum up your post: you want to call a method of Super with > a variable argument list? Yup. You got that perfectly right! ;-) I wonder if using your summarizing sentence right away from the beginning of my original text wou

Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-15 Thread B Bruen
On Tue, 15 Apr 2014 12:55:51 +0200 Tobias Boege wrote: > At > present, you have to create .src/Variant[].class outside of the IDE in your > project because the IDE forbids use of brackets in class names. However, the > interpreter doesn't seem to have any problems with that. Nice tip Tobi, I ne

Re: [Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-15 Thread Tobias Boege
On Mon, 14 Apr 2014, Bruno F??lix Rezende Ribeiro wrote: > 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 > elements, has occurred to itself. Since the class 'Variant[]' does not > have this

[Gambas-user] Advising methods of non-fixed argument tuple in a parent class

2014-04-14 Thread Bruno Félix Rezende Ribeiro
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 elements, has occurred to itself. Since the class 'Variant[]' does not have this specific capability but, on the order hand, has every other desired