btnbmps list

btnbmps list

Postby Silvio.Falconi » Mon Jun 18, 2018 7:25 pm

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 November 2023 - January 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
Silvio.Falconi
 
Posts: 7076
Joined: Thu Oct 18, 2012 7:17 pm

Re: btnbmps list

Postby cnavarro » Mon Jun 18, 2018 7:54 pm

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
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: btnbmps list

Postby Silvio.Falconi » Tue Jun 19, 2018 10:04 am

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 November 2023 - January 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
Silvio.Falconi
 
Posts: 7076
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 52 guests