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 <[EMAIL PROTECTED]>:
> 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@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