Search found 158 matches: ndatastralign

Searched query: ndatastralign

by nageswaragunupudi
Fri Jan 31, 2025 12:13 pm
Forum: FiveWin para Harbour/xHarbour
Topic: uCharToVal()
Replies: 3
Views: 561

Re: uCharToVal()

... oBrw:cHeaders := { "FUNCTION", "RESULT", "TYPE" }, ;
oBrw:aCols[ 1 ]:bStrData := { |x,o| 'uCharToVal( "' + o:Value + '" ) =' }, ;
oBrw:aCols[ 1 ]:nDataStrAlign := AL_RIGHT, ;
oBrw:aCols[ 3 ]:nDataStrAlign := AL_CENTER )

return nil

https://imagizer.imageshack.com/v2/xq70/922/PYqtHR.png
by Marc Venken
Tue Jan 07, 2025 8:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: AC4xBrowse
Replies: 11
Views: 1965

Re: AC4xBrowse

... 2 ] ), NIL ) }

WITH OBJECT:ak_start
:nEditType := EDIT_DATE
:bClrSel := { || { CLR_BLACK, CLR_HGRAY }}
ENDWITH

WITH OBJECT :Prijs1
:nDataStrAlign := AL_CENTER
:SetProgBar( 100,500, { || { MY_GREEN, CLR_WHITE } } ) // Saples in FW
:cEditPicture := "999.99 %"
//:bClrSel := :bClrSelFocus ...
by nageswaragunupudi
Mon Sep 09, 2024 3:44 am
Forum: FiveWin para Harbour/xHarbour
Topic: Alinear Renglon
Replies: 2
Views: 532

Re: Alinear Renglon

... XBROWSER "STATES.DBF" SETUP oBrw:nRowHeight := 100

Result:
https://imagizer.imageshack.com/v2/xq70/923/BmKmJ2.png

In your browse, the text is top aligned. That means you specified top-alignment somewhere in your program. Please recheck your program if you set any values to col:nDataStrAlign.
by MarcoBoschi
Mon Dec 11, 2023 12:17 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Add a Checkbox() column
Replies: 8
Views: 1358

Re: Add a Checkbox() column

... TRANSFORM( field->imp_eff, "@ZE 999,999,999.99" ) }
oCol:cHeader = "TOTALE CLIENTE"
oCol:nEditType = EDIT_NONE
oCol:nWidth = 100
oCol:nDataStrAlign := AL_RIGHT

How can I add another column that read / edit the value of field->seleziona Logical type?
I want to see the classic two bitmap ...
by kpidata
Fri Sep 01, 2023 7:17 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Inhabilitar columna en xBrowse - Disable column in xBrowse
Replies: 2
Views: 2216

evitar que se active columna con xbrowse al dar un click

... oBrw:aCols[2]:cHeader := "Código"
oBrw:aCols[2]:bStrData := { || cTab_Art:cod_art }
oBrw:aCols[2]:nHeadStrAlign := AL_CENTER
oBrw:aCols[2]:nDataStrAlign := AL_LEFT //LEFT
oBrw:aCols[2]:nWidth := 100
oBrw:aCols[2]:cSortOrder := "cod_art"
oBrw:aCols[2]:bLClickHeader := {|| oBrw:GoTop() }
oBrw ...
by nageswaragunupudi
Thu Aug 04, 2022 4:12 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Concatenar 2 o mas campos en xbrowse
Replies: 4
Views: 582

Re: Concatenar 2 o mas campos en xbrowse

... APE)) +"-"+ oClientes:recipiente }
campo donde esta el 99 + "/" agregas la barra + campo donde esta el 16 + "-" + campo baldes

oCol:nDataStrAlign:= AL_LEFT
oCol:oDataFont:= oFont3
oCol:oHeaderFont := oFont4
oCol:oFooterFont := oFont4
oCol:nWidth:= 240


Saludos

Ruben Dario Fernandez ...
by D.Fernandez
Tue Aug 02, 2022 11:57 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Concatenar 2 o mas campos en xbrowse
Replies: 4
Views: 582

Re: Concatenar 2 o mas campos en xbrowse

... oClientes:APE)) +"-"+ oClientes:recipiente }
campo donde esta el 99 + "/" agregas la barra + campo donde esta el 16 + "-" + campo baldes

oCol:nDataStrAlign:= AL_LEFT
oCol:oDataFont:= oFont3
oCol:oHeaderFont := oFont4
oCol:oFooterFont := oFont4
oCol:nWidth:= 240


Saludos

Ruben Dario Fernandez
by FranciscoA
Mon Mar 07, 2022 2:12 am
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1880

Re: Colorized cell of xbrowse

... CLR_BLACK, { { 1, RGB( 252, 235, 220 ), RGB( 255, 0,0 ) } }}}
endif
NEXT
:CreateFromCode()
:aCols[ 1 ]:nWidth := 100
:aCols[ 1 ]:nDataStrAlign := AL_LEFT
:SetStyle( 2018 )
end with


static function ChangeColor( oBrw, n )
return {|| { CLR_BLACK, ColorCell( oBrw:aRow[ n ]:VALUE ...
by Silvio.Falconi
Sun Mar 06, 2022 4:19 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1880

Re: Colorized cell of xbrowse

... CLR_BLACK, { { 1, RGB( 252, 235, 220 ), RGB( 255, 0,0 ) } }}}
endif
NEXT
:CreateFromCode()
:aCols[ 1 ]:nWidth := 100
:aCols[ 1 ]:nDataStrAlign := AL_LEFT
:SetStyle( 2018 )
end with


static function ChangeColor( oBrw, n )
return {|| { CLR_BLACK, ColorCell( oBrw:aRow[ n ]:VALUE ...
by Silvio.Falconi
Thu Mar 25, 2021 11:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: FolderEx problem
Replies: 6
Views: 1020

Re: FolderEx problem

Marc Venken wrote:No code to test, but have you tried the combination of 2 parameters ?.

this is xbrowse and mayby also used for folders. Give it a try

:nDataStrAlign := AL_CENTER + AL_BOTTOM



ON METHOD PaintTB() CLASS TFolderEx THERE ARE ONLY DT_SINGLELINE, DT_VCENTER, DT_CENTER
by Marc Venken
Wed Mar 24, 2021 10:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FolderEx problem
Replies: 6
Views: 1020

Re: FolderEx problem

No code to test, but have you tried the combination of 2 parameters ?.

this is xbrowse and mayby also used for folders. Give it a try

:nDataStrAlign := AL_CENTER + AL_BOTTOM
by oliveiros junior
Mon Aug 17, 2020 7:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: To Mister Nages - xBrowser
Replies: 21
Views: 3242

Re: To Mister Nages - xBrowser

... HeaderFont := oFonte_padrao
:nHeadStrAlign := AL_CENTER
:nWidth := 80
:bStrData := { || AllTrim( DToC( oMensagem:getValueByPos( 2 ) ) ) }
:nDataStrAlign := AL_TOP
:nCellheight := 20
DataFont := oFonte_botao
:SetColsAsRows( { 1, 2 } )
END

WITH OBJECT :aCols[ 2 ]
:cHeader := ""
HeaderFont ...
by Antonio Linares
Sat Jul 11, 2020 5:26 pm
Forum: WhatsNew / Novedades
Topic: New FTDN June 2020 (FWH 20.06)
Replies: 1
Views: 2561

Re: New FTDN June 2020 (FWH 20.06)

... Nueva DATA en TXBrwColumn: bDataStrAlign.
Si se asigna, el bloque de código se evalúa con oCol como parámetro y el resultado anula
nDataStrAlign.

- SqlRdd: Compatibilidad mejorada para barras de desplazamiento vertical.

* Corrección: uCharToVal( cDate, "D" ) no siempre devuelve el ...
by Antonio Linares
Thu Jul 09, 2020 9:37 am
Forum: WhatsNew / Novedades
Topic: New FTDN June 2020 (FWH 20.06)
Replies: 1
Views: 2561

New FTDN June 2020 (FWH 20.06)

... p232806

- New data of TXBrwColumn: bDataStrAlign.
If assigned, the codeblock is evaluated with oCol as parameter and the result
overrides nDataStrAlign

- SqlRdd: Enhanced compatibility for Vertical Scrollbars.

* Fix: uCharToVal( cDate, "D" ) is not always returning the correct result.
static ...
by Silvio.Falconi
Thu Apr 23, 2020 12:47 am
Forum: FiveWin for Harbour/xHarbour
Topic: error on xbrowse footer - RESOLVED! -
Replies: 33
Views: 4749

Re: error on xbrowse footer

I allready tested with

WITH OBJECT oBrowse:aCols[ 11]
:nFooterType := AGGR_SUM
:cEditPicture := "€ 999,999.99"
:nDataStrAlign := AL_RIGHT
END

the xbrowse is

@ 120, 02 XBROWSE oBrowse OF oDlg ;
COLUMNS 1,2,3,4,5,6,7,8,9,10,11;
HEADERS "Ico","Tipo","Servizio","Q.tà","Costo","Tot p q.tà ...