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 )
#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
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 )
Local cImgFileCropped:= "default.jpg"
..
@ 20, 330 XIMAGE oImageCropped SOURCE cImgFileCropped SIZE 80, 80 OF oCattura NOBORDER
...
ACTIVATE DIALOG oCattura CENTERED
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 53 guests