FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour not show the image ( win 10)
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
not show the image ( win 10)
Posted: Fri Nov 03, 2017 11:16 AM
Code (fw): Select all Collapse
#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 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
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: not show the image ( win 10)
Posted: 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

Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: not show the image ( win 10)
Posted: 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 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

Continue the discussion