[Gambas-user] Documentation: Events not firing in dynamically instantiated forms.

Jorge Carrión shordi at ...626...
Fri Nov 28 10:03:55 CET 2014


I must say that this has been a very, very enlightening discussion.

Thank you all, folks. This simplify a lot some workarounds in my code.

Regards

2014-11-28 2:06 GMT+01:00 T Lee Davidson <t.lee.davidson at ...626...>:

> On 11/27/2014 06:52 PM, Benoît Minisini wrote:
> > I have updated the 'Gambas object model' description on the wiki to
> > clarify the special behaviour of the Form objects.
> >
> > http://gambaswiki.org/wiki/doc/object-model
> >
> > If you haven't read that document yet, I strongly suggest that you read
> > it and tell me if the explanations are clear enough for you.
> >
> > Regards,
> >
> > -- Benoît Minisini
>
> Thank you for updating that page, Benoît. I think it is quite clear
> regarding the behavior of "As Name".
>
>
> I had given it a cursory read it previously, and have just now read it
> more thoroughly.
>
> I did spot some typos, but I can take the time to fix those.
>
> There are some things that I do find confusing:
>
> A. "2.2. Default parent object (or default default observer)". Should
> that be simply, "or default observer"?
>
> B. 3.1. What is inherited: "You must use the ME keyword to access the
> inherited elements from the class inside." I think I understand what
> that ultimately means but am not exactly sure what the "class inside"
> would be.
>
> C. 3.4. Inheritance and constructor: Regarding the order of arguments,
> it is stated that the arguments of elder classes are specified first.
>
> However, 'hMyListBox = NEW MyListBox("Name", hContainer)' appears to
> contradict this and the other examples. It, as far as I can tell, gives
> the argument of the younger class first.
>
> Should the syntax be, 'hMyListBox = NEW MyListBox(hContainer, "Name")'?
>
>
> That's it. That's all I found confusing. (A truly rare occasion!)
>
>
> --
> Lee
> __________
>
> "Artificial Intelligence is no match for natural stupidity."
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list