I have the following code to obtain a JPG and get the path, I also show the image on the folder
- Code: Select all Expand view
REDEFINE IMAGE oImg FILE (oDbMOD:Foto) ADJUST NOBORDER ID 103 OF oFld:aDialogs[ 5 ] UPDATE PIXEL
REDEFINE GET oGet100 VAR oDbMod:FOTO ID 101 Of oFld:aDialogs[ 5 ] Picture "@K!" VALID ( oImg:LoadBmp(ALLTRIM(oDbMod:FOTO)), oImg:Refresh(), .T.) ACTION ( oDbMod:FOTO:=cGetFile32("JPEG | *.jpg |" + "Todos los Archivos | *.* ","Seleccione una imagen",1,cPathFoto,,.T.), oGet100:refresh()) update
But I get this
Where the image was supposed to be.. I only see some scrolling lines, not the image
I use xHarbour, FWH908
From Chile
Adolfo