btnbmps list

Post Reply
User avatar
Silvio.Falconi
Posts: 7164
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

btnbmps list

Post 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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
cnavarro
Posts: 6558
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: btnbmps list

Post 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
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
Silvio.Falconi
Posts: 7164
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Re: btnbmps list

Post 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 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Post Reply