[Gambas-user] Events
David Villalobos Cambronero
david_villalobos_c at ...43...
Wed Oct 10 14:13:15 CEST 2007
Great! I´ll check
David
----- Original Message ----
From: Benoit Minisini <gambas at ...1...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Wednesday, October 10, 2007 4:37:43 AM
Subject: Re: [Gambas-user] Events
On mardi 09 octobre 2007, David Villalobos Cambronero wrote:
> Hi all,
>
> I want to know if I can create a event with Gambas, for example add the
> event click to a object that do not have it?
>
> Can someone explaime how Gambas deals with events
>
> Best regards
>
> David
>
I'm speaking about the development version:
In a few words, you can create any events you want in Gambas.
You cannot add a new event declaration to an already existing class. But you
can use inheritance for that.
You can use the Observer() class too: it allows you to intercept events sent
by an object before the event handlers get them.
You should read "The Gambas Object Model" page on the wiki documentation, and
take a look at all event-related functions in the language documentation.
Look at the Observer class documentation too.
Regards,
--
Benoit Minisini
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
More information about the User
mailing list