Page 1 of 1
XIMAGE ERROR
Posted: Fri Nov 03, 2017 10:40 am
by Silvio.Falconi
WHY IT MAKE ERROR ?
...
Local cImgFileCropped:= "default.jpg"
..
@ 20, 330 XIMAGE oImageCropped SIZE 80, 80 OF oCattura PIXEL NOBORDER
...
ACTIVATE DIALOG oCattura CENTERED ;
on init oImageCropped:LoadImage( cImgFileCropped )
Re: XIMAGE ERROR
Posted: Sat Nov 04, 2017 5:03 am
by sreerajklm
Try This,
Code: Select all
#include "fivewin.ch"
Function TestshowImg()
Local oCattura,oImageCropped
Local cImgFileCropped:= "D:\fwh\bitmaps\fivetech.bmp"
DEFINE DIALOG oCattura SIZE 400,400 PIXEL
@ 40, 60 XIMAGE oImageCropped SIZE 80, 80 OF oCattura PIXEL NOBORDER
ACTIVATE DIALOG oCattura CENTERED ;
ON INIT (oImageCropped:SetSource( cImgFileCropped ),oImageCropped:Refresh())
Return nil
Regards
Sreeraj
Re: XIMAGE ERROR
Posted: Sat Nov 04, 2017 11:56 am
by Silvio.Falconi
How I can load an image from OneDrive ?
Re: XIMAGE ERROR
Posted: Sun Nov 05, 2017 1:54 am
by nageswaragunupudi
Silvio.Falconi wrote: WHY IT MAKE ERROR ?
...
Local cImgFileCropped:= "default.jpg"
..
@ 20, 330 XIMAGE oImageCropped SIZE 80, 80 OF oCattura PIXEL NOBORDER
...
ACTIVATE DIALOG oCattura CENTERED ;
on init oImageCropped:LoadImage( cImgFileCropped )
Code: Select all
Local cImgFileCropped:= "default.jpg"
..
@ 20, 330 XIMAGE oImageCropped SOURCE cImgFileCropped SIZE 80, 80 OF oCattura NOBORDER
...
ACTIVATE DIALOG oCattura CENTERED
Re: XIMAGE ERROR
Posted: Tue Nov 07, 2017 6:30 pm
by Silvio.Falconi
xmage use freeimage.dll ?
Re: XIMAGE ERROR
Posted: Tue Nov 07, 2017 8:24 pm
by cnavarro
No