<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="FiveTech Software.FiveWin.32bits"
type="win32"
/>
<description>Aplicacion para guardar resultados, estadisticas del futbol ecuatoriano a nivel Local, Copas y Selecciones.</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
DEFINE DIALOG oDlg SIZE 400,500 PIXEL TRUEPIXEL TITLE FWVERSION
@ 20,20 XIMAGE oImage SOURCE "c:\fwh\bitmaps\olga1.jpg" ;
SIZE 352,450 OF oDlg NOBORDER
ACTIVATE DIALOG oDlg CENTERED
DEFINE DIALOG oDlg SIZE 800,470 PIXEL TRUEPIXEL TITLE FWVERSION
@ 20,20 XIMAGE oImage ;
SOURCE "https://www.sunderbannationalpark.in/blog/wp-content/uploads/2018/08/Royal-Bengal-Tiger.jpg" ;
SIZE 755,430 OF oDlg NOBORDER
ACTIVATE DIALOG oDlg CENTERED
#include "Fivewin.ch"
FUNCTION MAIN()
Local oWnd
LOCAL oImage
DEFINE WINDOW oWnd FROM 1,1 TO GetSysMetrics(1)-100,GetSysMetrics(0)-200 TITLE "FiveWin XImage" PIXEL
@ 1,1 XIMAGE oImage SIZE oWnd:nWidth-10,oWnd:nHeight-90 FILE "TesteXImage.bmp" NO BORDER OF oWnd
ACTIVATE WINDOW oWnd
oImage:End()
Return nil
#line 89 "c:\hb32\FWH\Include\Fivewin.ch"
EXTERNAL FW_GT
extern errorsys
static aFwStack := {}
static _fwhtmp_ := nil
#line 3 "TesteXImage.prg"
FUNCTION MAIN()
Local oWnd
LOCAL oImage
oWnd := TWindow():New( 1, 1, GetSysMetrics(1)-100, GetSysMetrics(0)-200, "FiveWin XImage",,,,,,,,,,,, !.F., !.F., !.F., !.F., .T.,, "oWnd",, )
oImage := TXImage():New( 1, 1, oWnd:nWidth-10, oWnd:nHeight-90, {|| "TesteXImage.bmp"}, oWnd, .F., .T. )
oWnd:Activate(, oWnd:bLClicked, oWnd:bRClicked, oWnd:bMoved, oWnd:bResized, oWnd:bPainted, oWnd:bKeyDown, oWnd:bInit,,,,,,,,,,, oWnd:bLButtonUp, .F. )
oImage:End()
Return nil
oImage:lBmpTransparent := .f.
function TestXImage2Clr()
local oWnd, oImage
DEFINE WINDOW oWnd
@ 10,10 XIMAGE oImage SOURCE "TesteXImage.bmp" SIZE -10,-10 OF oWnd
oImage:lBmpTransparent := .f.
ACTIVATE WINDOW oWnd MAXIMIZED
return nil
nageswaragunupudi wrote:Add this setting
- Code: Select all Expand view
oImage:lBmpTransparent := .f.
In the case of 2 color bitmaps (eg. black and white) we need to set lBmpTransparent to .F.
nageswaragunupudi wrote:Add this setting
In the case of 2 color bitmaps (eg. black and white) we need to set lBmpTransparent to .F.
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 42 guests