not show the image ( win 10)

not show the image ( win 10)

Postby Silvio.Falconi » Fri Nov 03, 2017 11:16 am

Code: Select all  Expand view  RUN
#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 nil



I 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 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: not show the image ( win 10)

Postby Otto » Fri Nov 03, 2017 11:26 am

Hello Silvio,
here it is working fine on Windows 10. I use 007.bmp as default.bmp.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6347
Joined: Fri Oct 07, 2005 7:07 pm

Re: not show the image ( win 10)

Postby Silvio.Falconi » Fri Nov 03, 2017 11:33 am

I close the pc and reopen and now I see it

I dont Know what happened
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


Return to FiveWin for Harbour/xHarbour

Who is online

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