#include "fivewin.ch"
#include "constant.ch"
static oImage
Function TestshowImg()
Local oCattura
Local nBottom := 33
Local nRight := 115
Local nWidth := Max( nRight * DLG_CHARPIX_W, 180 )
Local nHeight := nBottom * DLG_CHARPIX_H
Local cImgFile:= "default.bmp"
DEFINE DIALOG oCattura ; //OF oParent
TITLE "show immagine da file" ;
SIZE nWidth, nHeight TRANSPARENT PIXEL
@ 20, 330 IMAGE oImage SIZE 80, 80 OF oCattura PIXEL NOBORDER
ACTIVATE DIALOG oCattura CENTERED ;
on init oImage:LoadBmp( cImgFile )
Return nilI not see any image on dialog ... why ? ( tried also with LoadImage() )
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 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
I use : FiveWin for Harbour March-April 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