I have a list of btnbmp and I wish open a popup when the final user click on a btnbmp
the problem is the nitem is the same
give me allway item 30 and the same caption because there are 30 items
How I cam open a popup and give to popup the number of button and the caption ?
the problem is the nitem is the same
RA->(dbgotop())
Do While ! Ra->(eof())
@ nrow,ncol BTNBMP oBtn[n] of oGrid:adialogs[1] ;
SIZE nsizeW,nsizeh PIXEL TRANSPARENT ;
Prompt (alltrim(Ra->Radesc)," ") ;
NOBORDER ;
Filename aBmp[RA->RACOLORE] ;
CENTER
oBtn[n]:bAction := {|| Msginfo("Item "+str(n) ) }
ncol:= ncol+nsizeW+5
n:=n+1
k++
IF k = 11
nRow += nsizeh+10
ncol := 10
k:= 1
Endif
RA->(dbSkip())
Enddogive me allway item 30 and the same caption because there are 30 items
How I cam open a popup and give to popup the number of button and the caption ?
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
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

