Page 1 of 1

btnbmps list

Posted: Mon Jun 18, 2018 7:25 pm
by Silvio.Falconi
I have add on list of btnbmp this command :bAction := { |oBtn| oBtn:Toggle() }

sample :

Image


How I can make to have the list of array with wich button is pressed ?
I wish the number of btnbmp pressed

Re: btnbmps list

Posted: Mon Jun 18, 2018 7:54 pm
by cnavarro
In this sample

viewtopic.php?f=3&t=35666&p=212416&hilit=%3Acargo#p212422

save in baction your :cargo in other variable or add this :cargo to a array

Re: btnbmps list

Posted: Tue Jun 19, 2018 10:04 am
by Silvio.Falconi
the test is from that test of rao
How ?

I not Know How have the array of buttons pressed

then another I must put the small images then and not before
I explain
I drwar the images, the I control if there is a reservation and the I can put the images or change the big image with setBmp ?