XIMAGE ERROR

XIMAGE ERROR

Postby Silvio.Falconi » Fri Nov 03, 2017 10:40 am

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 )
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7076
Joined: Thu Oct 18, 2012 7:17 pm

Re: XIMAGE ERROR

Postby sreerajklm » Sat Nov 04, 2017 5:03 am

Try This,

Code: Select all  Expand view  RUN
#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
sreerajklm
 
Posts: 6
Joined: Tue Sep 23, 2014 5:22 am
Location: Kochi, India

Re: XIMAGE ERROR

Postby Silvio.Falconi » Sat Nov 04, 2017 11:56 am

How I can load an image from OneDrive ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7076
Joined: Thu Oct 18, 2012 7:17 pm

Re: XIMAGE ERROR

Postby nageswaragunupudi » Sun Nov 05, 2017 1:54 am

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  Expand view  RUN
Local cImgFileCropped:= "default.jpg"
..
@ 20, 330 XIMAGE oImageCropped SOURCE cImgFileCropped SIZE 80, 80 OF oCattura NOBORDER

...
ACTIVATE DIALOG oCattura CENTERED

 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10663
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: XIMAGE ERROR

Postby Silvio.Falconi » Tue Nov 07, 2017 6:30 pm

xmage use freeimage.dll ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7076
Joined: Thu Oct 18, 2012 7:17 pm

Re: XIMAGE ERROR

Postby cnavarro » Tue Nov 07, 2017 8:24 pm

No
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 48 guests