Code: Select all
LOCAL nFoto := 1
FOR r = 1 TO 3
FOR k = 1 TO 5
cImage := aFotoNaam[nFoto]
oImgName := 'oImg' + STR(nFoto)
IF FILE(cImage)
@ nRow, nColumn IMAGE &oImgName FILENAME cImage OF oFld:aControls[ 3 ] SIZE 110, 110
&oImgName:bLButtonDown = { || RK_FotoGroot( cImageGroot ) }
ENDIF
nColumn := nColumn + 120
nFoto++
NEXT
nColumn := 10
nRow := nRow - 120
NEXT