I have a cicle
count:= 10
aImage:= array(count)
pressed:= 0
FOR i=1 TO count
@ 10, COL IMAGE aImage[i] SIZE 9, 17 OF oDlg;
FILENAME 'empty.bmp' PIXEL NOBORDER ;
ON CLICK ( pressed := i, myfunction(pressed) )
aImage[i]:bMLeave := { || OnLeave(i) }
col += 9
NEXT i
I must have the value of i for another function but it is allway 11
count:= 10
aImage:= array(count)
pressed:= 0
FOR i=1 TO count
@ 10, COL IMAGE aImage[i] SIZE 9, 17 OF oDlg;
FILENAME 'empty.bmp' PIXEL NOBORDER ;
ON CLICK ( pressed := i, myfunction(pressed) )
aImage[i]:bMLeave := { || OnLeave(i) }
col += 9
NEXT i
I must have the value of i for another function but it is allway 11
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