Search found 51 matches: lbmptransparent

Return to advanced search

Re: BMP en xBrowse. Transparente?

:addResource( 'FLAG' ) :bBmpData := {|| IIf( Empty( oData:produtocontado ), 0, 1 ) } :lBmpStretch := .f. :lBmpTransparent := .t. :nDataBmpAlign := AL_CENTER :nHeadStrAlign := AL_CENTER :cHeader := 'Contado' :nWidth := 50 :bStrData := {|| nil } :cSortOrder := Nil
by MGA
Mon Sep 05, 2022 8:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BMP en xBrowse. Transparente?
Replies: 2
Views: 438

Imágenes en Xbrowse [SOLUCIONADO]

... oBrw:nRowDividerStyle := LINESTYLE_LIGHTGRAY oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROWMS oBrw:aCols[2]:nEditType := TYPE_IMAGE oBrw:aCols[2]:lBmpTransparent := .T. oBrw:aCols[ 2 ]:addbmpfile("BITMAPS\yes.bmp" ) // from Disk oBrw:aCols[ 2 ]:addbmpfile("BITMAPS\no.bmp" ) ...
by Ramón J.
Thu Nov 26, 2020 9:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imágenes en Xbrowse [SOLUCIONADO]
Replies: 3
Views: 763

Re: Consulta XIMAGE

... correctamente sin necesidad de editar el archivo. Investigando el conjunto de imágenes problemáticas, el problema es que la clase tiene la data ::lBmpTransparent como .t., y esa es la razón del pintado incorrecto. Colocándola a .f. se pintan sin problema. Probablemente la data tenga que tener ...
by MOISES
Sun Apr 26, 2020 5:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta XIMAGE
Replies: 7
Views: 1025

Re: Como mejorar la calidad de las imágenes

nageswaragunupudi wrote:Add this setting
In the case of 2 color bitmaps (eg. black and white) we need to set lBmpTransparent to .F.


lBmpTransparent shouldn't be .F. by default ?

[[]]
Maurício Faria
by concentra
Mon Dec 30, 2019 5:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como mejorar la calidad de las imágenes
Replies: 15
Views: 3052

Re: Como mejorar la calidad de las imágenes

Add this setting   oImage:lBmpTransparent := .f.  In the case of 2 color bitmaps (eg. black and white) we need to set lBmpTransparent to .F. Hi, thanks. Better ! But still not as good as other apps, and worst in the bottom of the image: ...
by concentra
Mon Dec 30, 2019 5:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como mejorar la calidad de las imágenes
Replies: 15
Views: 3052

Re: Como mejorar la calidad de las imágenes

Add this setting   oImage:lBmpTransparent := .f.  In the case of 2 color bitmaps (eg. black and white) we need to set lBmpTransparent to .F. Suggested code: function TestXImage2Clr()   local oWnd, oImage  ...
by nageswaragunupudi
Mon Dec 30, 2019 2:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como mejorar la calidad de las imágenes
Replies: 15
Views: 3052

Re: Missing images in xBrowse

... the test bbb.bmp It looks like there is a border around that makes it transparent :?: I added -> oImage:lBmpTransparent := .F. but no difference http://www.pflegeplus.com/IMAGES/bbb.bmp Funny and hard to understand as a test I reloaded ...
by ukoenig
Fri Nov 15, 2019 4:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Missing images in xBrowse
Replies: 12
Views: 2356

Re: Missing images in xBrowse

You may get this problem in case of bitmaps with only 2 colors.

Please try
oCol:lBmpTransparent := .F.
by nageswaragunupudi
Thu Nov 14, 2019 9:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Missing images in xBrowse
Replies: 12
Views: 2356

Missing images in xBrowse

... "Img64_" + ALLTRIM(STR(nCount[1])) + ".bmp" ) in xBrowse WITH OBJECT:aCols[ 1 ] :cDataType := 'F' :nDataBmpAlign := AL_CENTER :lBmpTransparent := .f. //:lBmpTransparent := .t. END some of the created Bmp's http://www.pflegeplus.com/IMAGES/Img48_2.bmp http://www.pflegeplus.com/IMAGES/Img64_4.bmp ...
by ukoenig
Thu Nov 07, 2019 3:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Missing images in xBrowse
Replies: 12
Views: 2356

Re: Show and scroll with Meta-file

Using non transparent images like Your drawing maybe You need @ 20,20 XIMAGE oImage SOURCE cFile SIZE -20,-20 OF oDlg oImage:lBmpTransparent := .F. otherwise it could show something like ( format JPG ) is showing transparent areas on the left upper corner This is not relevant for EMF ...
by nageswaragunupudi
Sat Jul 20, 2019 1:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Show and scroll with Meta-file
Replies: 12
Views: 1266

Re: Show and scroll with Meta-file

Marc, by default :lBmpTransparent := .T. Using non transparent images like Your drawing maybe You need @ 20,20 XIMAGE oImage SOURCE cFile SIZE -20,-20 OF oDlg oImage:lBmpTransparent := .F. otherwise it could show something like ( format ...
by ukoenig
Sat Jul 20, 2019 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Show and scroll with Meta-file
Replies: 12
Views: 1266

Re: Xbrowse : Problem with Image

Silvio,

WITH OBJECT oApp():oGrid
:nRowHeight := 200
END

WITH OBJECT oApp():oGrid:aCols[ 1]
:cDataType := 'F'
:nWidth := 40
:nDataBmpAlign := AL_CENTER
:lBmpTransparent := .T.
END

regards
Uwe :D
by ukoenig
Thu Apr 04, 2019 11:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : Problem with Image RESOLVED
Replies: 2
Views: 608

Xbrowse : Problem with Image RESOLVED

... with WITH OBJECT oApp():oGrid :nRowHeight := 200 WITH OBJECT oApp():oGrid:aCols[ 1] :cDataType := 'F' :nWidth := 40 :nDataBmpAlign := AL_CENTER :lBmpTransparent := .T. END But It show a small image https://i.postimg.cc/qMgGt9qC/ser.jpg why ? the original images are all Png and ...
by Silvio.Falconi
Thu Apr 04, 2019 10:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : Problem with Image RESOLVED
Replies: 2
Views: 608

Re: Show an Image on xbrowse

made WITH OBJECT oBrw:aCols[1] :cDataType := 'F' :nWidth := 80 :nDataBmpAlign := AL_CENTER :lBmpTransparent := .T. // not required END This is correct. made but not show the exactly image because the field have ".\images\OMBREL~2.PNG" Give full path and name ...
by nageswaragunupudi
Wed Jan 30, 2019 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Show an Image on xbrowse Resolved!!
Replies: 4
Views: 1295

Show an Image on xbrowse Resolved!!

I made WITH OBJECT oBrw:aCols[1] :cDataType := 'F' :nWidth := 80 :nDataBmpAlign := AL_CENTER :lBmpTransparent := .T. END but not show the exactly image because the field have ".\images\OMBREL~2.PNG" then I tried to insert :bBmpData := { || lfn2sfn(rtrim( ( oBrw:cAlias ...
by Silvio.Falconi
Wed Jan 30, 2019 4:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Show an Image on xbrowse Resolved!!
Replies: 4
Views: 1295
Next

Return to advanced search