[Gambas-user] Receiving events on an array of process objects

PICCORO McKAY Lenz mckaygerhard at gmail.com
Fri May 25 14:37:21 CEST 2018


2018-05-25 6:27 GMT-04:00 Tobias Boege <taboege at gmail.com>:

> By creating many different processes with the same event name, you can
> treat
> events of many objects with a single event handler. The special variable
> LAST
> is used during event handlers to indicate which Process raised the event.
>

HI tobi, thuis are very interesting to..

gambas run in one unique threath right?

but from that, if we created more proceses under same name this are
equivalent of the java group threathing?

i mean group of threaths? under that main process (the gambas code that
invoke the other proceses)


>
> So, did you try the code you posted above? It should do exactly what you
> want (that's at least the best interpretation I can think of for "receiving
> events from an array of Process objects"). Assuming of course, that you
> have declared event handlers Public Sub myProcess_Read() and such.
>
> Regards,
> Tobi
>
> [1] http://gambaswiki.org/wiki/doc/object-model
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180525/27d8ef93/attachment-0001.html>


More information about the User mailing list