if I have in an archive field "dummy1()"
How do I make it work in a button?
that is, I did it
I saved the archive in an aImg array

local bClick:= {|| aImg[5 ] }
@ nRow, nCol BTNBMP oItem PROMPT aImg[ 1 ] ;
FILE aImg[2 ] ;
SIZE 72,96 PIXEL OF oPanel ;
NOBORDER FLAT
oItem:oCursor:= oCursorBtn
oItem:baction:= (bClick)
not eval the action
How do I make it work in a button?
that is, I did it
I saved the archive in an aImg array

local bClick:= {|| aImg[5 ] }
@ nRow, nCol BTNBMP oItem PROMPT aImg[ 1 ] ;
FILE aImg[2 ] ;
SIZE 72,96 PIXEL OF oPanel ;
NOBORDER FLAT
oItem:oCursor:= oCursorBtn
oItem:baction:= (bClick)
not eval the action
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