:MakeTotals() and picture

Post Reply
User avatar
damianodec
Posts: 430
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Been thanked: 1 time
Contact:

:MakeTotals() and picture

Post by damianodec »

Hi,
thisi is my xbrowse
Image
this is code

Code: Select all | Expand

	@ 40,10 XBROWSE oBrw SIZE -10,-50 PIXEL ;
	  RECORDSET oRs ;
	  COLUMNS "cdcli", "rascl", "totale",  "pezzi" ;
	  HEADERS "CLIENTE", "RAGIONE SOCIALE", "TOTALE EURO", "TOTALE PEZZI" ;
	  PICTURE NIL,NIL, "@ZE 99,999,999.99", "@ZE 99999,999.999" ;
	  FOOTERS ;
	  OF oDlg2	  
	
	oBrw:nMarqueeStyle       := MARQSTYLE_HIGHLROW
	oBrw:nColDividerStyle    := LINESTYLE_BLACK
	oBrw:nRowDividerStyle    := LINESTYLE_BLACK
	oBrw:lColDividerComplete := .T. 
	oBrw:lRecordSelector     := .t.
	oBrw:lHScroll            := .T.
	oBrw:lVScroll            := .T.
	oBrw:lExcelCellWise 	 := .t.
	
	oBrw:bClrSelFocus = { || { 16777215, 15512898 } }   
	oBrw:bClrSel = { || { 16777215, 15512898 } }
	oBrw:bClrStd := {|| {CLR_BLACK, iif( oBrw:Keyno() % 2 = 0, CLR_SFBRWP, CLR_SFBRWD  ) } }
	
    oBrw:CreateFromCode()
	
    WITH OBJECT oBrw
		:aCols[03]:nFooterType := AGGR_SUM
		:aCols[04]:nFooterType := AGGR_SUM	
		:MakeTotals()
	END		

why does the first column of totals have that picture ?

I Use FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.00 for Win32
FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
acuellar
Posts: 1660
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia
Has thanked: 1 time
Been thanked: 3 times

Re: :MakeTotals() and picture

Post by acuellar »

damianodec

Maybe

Code: Select all | Expand

'
   :aCols[03]:cEditPicture:="99,999,999.99"
Saludos,

Adhemar C.
User avatar
damianodec
Posts: 430
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Been thanked: 1 time
Contact:

Re: :MakeTotals() and picture

Post by damianodec »

No, totel is 1.351.282,1200000000

I'd like total like the detail with two decimals
FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
karinha
Posts: 8079
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 12 times
Contact:

Re: :MakeTotals() and picture

Post by karinha »

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
cmsoft
Posts: 1317
Joined: Wed Nov 16, 2005 9:14 pm
Location: Mercedes - Bs As. Argentina
Has thanked: 2 times
Been thanked: 5 times

Re: :MakeTotals() and picture

Post by cmsoft »

Damian, el separador de miles es la , y el de decimales es el . por default
Tienes una configuracion diferente?

Damian, the thousands separator is , and the decimal separator is . by default.
Do you have a different configuration?
User avatar
cnavarro
Posts: 6674
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Has thanked: 12 times
Been thanked: 12 times

Re: :MakeTotals() and picture

Post by cnavarro »

In addition to what Cesar suggests you should check, remember that in each column object there is the data :cFooterPicture
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
damianodec
Posts: 430
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Been thanked: 1 time
Contact:

Re: :MakeTotals() and picture

Post by damianodec »

Hi,
I still have this problem.
the problem is only in first total.
Why?
FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
cnavarro
Posts: 6674
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Has thanked: 12 times
Been thanked: 12 times

Re: :MakeTotals() and picture

Post by cnavarro »

viewtopic.php?p=278990#p278990
Change characters of picture
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Post Reply