eval an action - Resolved!!
Posted: Tue Mar 05, 2024 11:57 am
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