[Gambas-user] Custom Control
D. L. Fox
ubuntu at ...2332...
Sun Nov 29 22:22:44 CET 2009
I apologize if I gave you the wrong impression. I didn't intend for you
to change anything. I was just wondering if it could already be done and
I was missing it.
I really like Gambas and have been enjoying the learning experience.
Thanks for creating it.
Benoît Minisini wrote:
> You get a point there: optional arguments cannot really be used in
> constructors, unless you do not use inheritance. Because the rule is that if
> an argument is optional, all following arguments are. Which is a contradiction
> with the way arguments are used.
>
> Maybe I should change the way arguments are consumed by inherited
> constructors. I mean not inverting them, i.e. inverting them on the stack, so
> that you write New MyControl(FMain, lVal1, lVal2...). But this will uses some
> CPU.
>
> I must think about that...
>
More information about the User
mailing list