some time there is the need to attach an object to himself (for event handler).


form is doing that too.


i don'tt remember why i has done that lol i need to look at that
better ... what did you manage to do about that component ... i've not
finish it yet... i'm waiting for Benoit and the ability of the ide to
draw report as it draw form.

But your hands are welcome :) ...

ok got it

it's for after ... like forms, they will be a class named report this
class inherit the report and extend it ... like with a form ... and in
forms, the envents are contained in the form class file ... so managed
by the class itself.


The goal ,in fact my goal of gb.report is to give the ability to
gambas to generate reports as access do. so gambas will be maybe the
better database tool in the linux world... for me better than ooo or
kexi. But there is still some work to do.

Fabien









2008/9/17 Kari Laine <[EMAIL PROTECTED]>:
> Hi,
>
> I am learning gb.report and in it there is following in the report-class.
>
> PUBLIC SUB _New()
>  object.Attach(ME, ME, "Report")
>
> how come there is ME twice in it?
>
> Gambas-help gives following
> STATIC SUB Attach ( Object AS Object, Parent AS Object, Name AS String )
>
> In my understanding there should be event-handlers called
> Report_<something> in the deriving hierarchy...but there is none. So
> could anyone help me and tell what kind of purpose that line has?
>
> Thanks beforehand for any help
>
> Best Regards
> Kari Laine
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to