Re: [Gambas-user] Last in group event handler called as function

2012-02-06 Thread Benoît Minisini
Le 03/02/2012 21:13, tobias a écrit : > hi, > > consider the following (where "PickColor" is the event name of a group > of ToogleButton controls) > > Public Sub Form_Open() > PickColor_Click() > End > > Public Sub PickColor_Click() > Print Last > End > > since the event handlers are just s

[Gambas-user] Last in group event handler called as function

2012-02-03 Thread tobias
hi, consider the following (where "PickColor" is the event name of a group of ToogleButton controls) Public Sub Form_Open() PickColor_Click() End Public Sub PickColor_Click() Print Last End since the event handlers are just subroutines one may call them as every other sub. i can imagine