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"]
>          bCan.Height = 22
>          bCan.Width = 22
>          bCan.Border = False
>          bCan.tag = True 'col["Path"]
>          bCan.Action = "CancelItemCola"
> next
>
> (I mean with both clauses AS  and .Action)
>
> When you click one of the buttons, all of them change its values at same
> time...
>
> By erasing or commenting de .Action line all works well, of course...
>
> Best Regards.

This is the normal behaviour. What did you expect?

-- 
Benoît Minisini

------------------------------------------------------------------------------
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 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to