[Gambas-user] About Groups of Controls

2015-12-04 Thread Jorge Carrión
I don't know if its a bug or a expected behaviour, so I ask here first: If you declare a group of toolbuttons this way: for n=1 to 5 bCan = New ToggleButton(hbx) As "CancelItemCola" bCan.Picture = Stock["cancel"] bCan.Height = 22 bCan.Width = 22

Re: [Gambas-user] About Groups of Controls

2015-12-04 Thread Moviga Technologies
You are perhaps confusing .Action with .Group ? -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5

Re: [Gambas-user] About Groups of Controls

2015-12-04 Thread Jorge Carrión
Oh... ok, then. All that has been an accident... but a instructive accident, I guess...  Regards 2015-12-04 14:14 GMT+01:00 Benoît Minisini : > Le 04/12/2015 13:49, Jorge Carrión a écrit : > > I didn't expect nothing. It was an accident: I copied and pasted the

Re: [Gambas-user] About Groups of Controls

2015-12-04 Thread Benoît Minisini
Le 04/12/2015 13:49, Jorge Carrión a écrit : > I didn't expect nothing. It was an accident: I copied and pasted the code > with de .Action property line inadvertently from other project and get > surprised by the behaviour. > > Either way I don't understand why this behaviour. I think that should

Re: [Gambas-user] About Groups of Controls

2015-12-04 Thread Benoît Minisini
Le 04/12/2015 13:15, Jorge Carrión a écrit : > I don't know if its a bug or a expected behaviour, so I ask here first: > > If you declare a group of toolbuttons this way: > > for n=1 to 5 > bCan = New ToggleButton(hbx) As "CancelItemCola" > bCan.Picture = Stock["cancel"] >

Re: [Gambas-user] About Groups of Controls

2015-12-04 Thread Jorge Carrión
I didn't expect nothing. It was an accident: I copied and pasted the code with de .Action property line inadvertently from other project and get surprised by the behaviour. Either way I don't understand why this behaviour. I think that should call the _click event and the Action_Activate event,