Search found 36 matches: ndatabmpalign

Searched query: ndatabmpalign

by elmoiquique
Thu Mar 28, 2024 9:01 pm
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 10
Views: 3914

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

... 4]:addbmpfile("\QASVE\config\bmp\BUSCAR16X16.bmp")
oLbx101c:aCols[4]:lBtnTransparent := .t.
olbx101c:aCols[4]:nBtnBmp := 1
olbx101c:aCols[4]:nDataBmpAlign := AL_CENTER
//olbx101c:acols[4]:bEditWhen:= { || olbx101c:aArrayData[olbx101c:nArrayAt][5]="T" }
olbx101c:acols[4]:bOnPostEdit:= { |o,nval ...
by Marc Venken
Fri Nov 25, 2022 8:26 am
Forum: FiveWin for Harbour/xHarbour
Topic: Newbie Question : XBROWSE
Replies: 17
Views: 3500

Re: Newbie Question : XBROWSE

... aPics TITLE "WEB IMAGES" SETUP ( oBrw:nRowHeight := 200, oBrw:aCols[ 1 ]:nWidth := 300, ;
oBrw:aCols[ 1 ]:cDataType := 'F', oBrw:aCols[ 1 ]:nDataBmpAlign := AL_CENTER )

XBROWSER aPics TITLE "DOWNLOADED IMAGES" COLUMNS 1,1 SETUP ( oBrw:cHeaders := { "FileName", "Image" }, ;
oBrw:nRowHeight ...
by MGA
Mon Sep 05, 2022 8:40 pm
Forum: FiveWin para Harbour/xHarbour
Topic: BMP en xBrowse. Transparente?
Replies: 2
Views: 453

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 Ramón J.
Thu Nov 26, 2020 9:29 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Imágenes en Xbrowse [SOLUCIONADO]
Replies: 3
Views: 802

Imágenes en Xbrowse [SOLUCIONADO]

... el dato a la derecha de la imagen. ¿Cómo se oculta el dato?

¿Y cómo se centra la imagen? He tratado de entrar la imagen con oBrw:aCols[ 2 ]:nDataBmpAlign: = AL_CENTER pero da error

http://portales.gva.es/agricultura/sat/sample.jpg

El código es el siguiente:


#include "FiveWin ...
by ukoenig
Thu Nov 07, 2019 3:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Missing images in xBrowse
Replies: 12
Views: 2465

Missing images in xBrowse

... saved like

oBmp1:SaveToBmp( c_path2 + "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 ...
by ukoenig
Thu Apr 04, 2019 11:09 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : Problem with Image RESOLVED
Replies: 2
Views: 626

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 Silvio.Falconi
Thu Apr 04, 2019 10:52 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : Problem with Image RESOLVED
Replies: 2
Views: 626

Xbrowse : Problem with Image RESOLVED

... the first column 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 ...
by ukoenig
Wed Mar 13, 2019 4:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse - adding cellimages from DBF or array
Replies: 2
Views: 791

Re: XBrowse - adding cellimages from DBF or array

... 46;jpg

WITH OBJECT oBrw:aCols[ 5 ]
// :bStrImage := { || c_path1 + ALLTRIM(oCust:Image) }
// :nDataStrAlign := AL_CENTER + AL_BOTTOM
// :nDataBmpAlign := AL_CENTER

// My solution
:bPaintText := { | oCol, hDC, cData, aRect | ;
DRAWCELL( c_path1,oCol, hDC, cData, aRect ) } // extra function ...
by nageswaragunupudi
Wed Jan 30, 2019 6:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Show an Image on xbrowse Resolved!!
Replies: 4
Views: 1345

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 of the image. If XBrowse can ...
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: 1345

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 )->ELIMGLIB)) }

but it ...
by nageswaragunupudi
Sun Jul 08, 2018 12:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: move data between xbrowse files
Replies: 8
Views: 1352

Re: move data between xbrowse files

You mean this part ?

WITH OBJECT:colpic
:bStrImage := { || "r:\pictures\"+alltrim(ATT->colpic) }
DataFont := oFontS
:nDataStrAlign := AL_CENTER + AL_BOTTOM
:nDataBmpAlign := AL_CENTER
:aImgRect := { nil, nil, -10, nil }
END
Yes.
Very good.
by MGA
Wed May 09, 2018 10:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: buttons and datepick on xbrowse
Replies: 14
Views: 3999

Re: buttons and datepick on xbrowse

... CALEND')
oBrowse:aCols[2]:nBtnBmp := 1
oBrowse:aCols[2]:lBmpStretch := .f.
oBrowse:aCols[2]:lBmpTransparent := .t.
oBrowse:aCols[2]:nDataBmpAlign := AL_CENTER
oBrowse:aCols[2]:nHeadStrAlign := AL_CENTER
oBrowse:aCols[2]:nFootStrAlign := AL_RIGHT
oBrowse:aCols[2]:nDataStrAlign := oBrowse ...
by MGA
Wed May 09, 2018 1:56 pm
Forum: FiveWin for Harbour/xHarbour
Topic: buttons and datepick on xbrowse
Replies: 14
Views: 3999

Re: buttons and datepick on xbrowse

... CALEND')
oBrowse:aCols[2]:nBtnBmp := 1
oBrowse:aCols[2]:lBmpStretch := .f.
oBrowse:aCols[2]:lBmpTransparent := .t.
oBrowse:aCols[2]:nDataBmpAlign := AL_CENTER
oBrowse:aCols[2]:nHeadStrAlign := AL_CENTER
oBrowse:aCols[2]:nFootStrAlign := AL_RIGHT
oBrowse:aCols[2]:nDataStrAlign := oBrowse ...
by Sistem
Wed Jul 19, 2017 12:56 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Aumentar columna en XBrowse para ejecutar accion ver PDF
Replies: 1
Views: 598

Re: Aumentar columna en XBrowse para ejecutar accion ver PDF

ideia..poderia criar um botao centralizado na coluna.. ex:
oCol := oLbxPefa:aCols[ 5 ]
oCol:nEditType := EDIT_BUTTON
oCol:bEditBlock := {|| CriaPdfDanfe() }
oCol:AddResource("BMP_PRNT")
oCol:nBtnBmp := 1
oCol:nDataBmpAlign := 1 // 2 acho que seja centralizado
by Manuel Aranda
Wed Jul 06, 2016 5:37 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Desplegar bmps en celdas de xbrowse (solucionado)
Replies: 14
Views: 2385

Re: Desplegar bmps en celdas de xbrowse

Sólo por probar, ¿has probado a cambiar el orden de las líneas de código de esta forma?

WITH OBJECT Col( "Smf" )
:AddResource("verde")
:AddResource("amarillo")
:AddResource("rojo")
:AddResource("transparente")
:bBmpData := { || SelBmp() }
:nDataBmpAlign := AL_LEFT
:nWidth := 30