[Gambas-user] About Groups of Controls
Jorge Carrión
shordi at ...626...
Fri Dec 4 13:15:16 CET 2015
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.
More information about the User
mailing list