Sorry I explain
I making a multiple invoice for beach management
in managing the beach, in addition to individual customers, there are associations or hotels that can book an x number of umbrellas, instead of placing an order for each umbrella at the hotel, I thought of making a multiple order and assigning XXXX n umbrellas to the hotel.
look this picture
to assign the umbrellas the operator presses one of the numerical buttons that are on the left and then selects a button that is inside the first scrollable panel
on First Scroll Panel If I select one button it return allways 04
on source on a for next cicle I create the buttons into scrollpanel and the assign an action for each button
aBtnEle[n]:bAction :={ || (Elemento:= nProduct ,msginfo(nProduct))}
nProduct id the code of an array
nProduct:= aElements[n][1]
but perhaps n is allways 4
How I can resolve ?
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