[Gambas-user] Events

Fabien Bodard gambas.fr at ...626...
Thu Sep 18 00:35:39 CEST 2008


in what case ? to write you own class ?


'class MyTest

EVENT MyEvent

Public test()

  RAISE MyEvent


End




'Main Module

Private hTest as Mytest

Public sub Main()

hTest = New MyTest as "MyTest"
htest.Test

end


Public Sub MyTest_MyEvent()

  Print "Event Raised"

End


Fabien


2008/9/17 Kari Laine <klaine8 at ...626...>:
> Hi,
>
> could someone please post a little example how these events work? Or refer
> me to a example in Gambas where their are used.
>
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list