error on xbrowse footer - RESOLVED! -

User avatar
Silvio.Falconi
Posts: 7138
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

error on xbrowse footer - RESOLVED! -

Post by Silvio.Falconi »

Image

on xbrowse I set

WITH OBJECT oBrowse:aCols[ 11]
:nFooterType := AGGR_SUM
:cEditPicture := '@ €99,999.99'
END

also I use :nDataStrAlign := AL_RIGHT I not see the symbol of euro

while on another procedure ( same source code) compiled with oldest fwh I see this ( align on right and euro symbol)

Image

any solution ?
Last edited by Silvio.Falconi on Sun May 03, 2020 4:12 pm, edited 1 time in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
karinha
Posts: 7940
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 3 times
Contact:

Re: error on xbrowse footer

Post by karinha »

Try,

Code: Select all | Expand


:cEditPicture := '€99,999.99'
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
Silvio.Falconi
Posts: 7138
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: error on xbrowse footer

Post by Silvio.Falconi »

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à","Dal","al","Giorni","Sconto","Totale" ;
COLSIZES 55, 25,130,50,90,90,140,140,50,90,120 ;
PICTURES nil, nil,"@!","9999","€ 999,999.99","€ 999,999.99", "dd-mmmm-yyyy","dd-mmmm-yyyy","999","€ 999,999.99","€ 999,999.99";
ARRAY aData ;
SIZE 100,82 PIXEL STYLE FLAT NOBORDER
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
FranciscoA
Posts: 2163
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: error on xbrowse footer

Post by FranciscoA »

Try:

Code: Select all | Expand

:nFootStrAlign := 1  
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
Silvio.Falconi
Posts: 7138
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: error on xbrowse footer

Post by Silvio.Falconi »

..
Last edited by Silvio.Falconi on Thu Apr 30, 2020 8:30 pm, edited 1 time in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
Posts: 7138
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: error on xbrowse footer

Post by Silvio.Falconi »

--
Last edited by Silvio.Falconi on Thu Apr 30, 2020 8:31 pm, edited 1 time in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
Posts: 7138
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: error on xbrowse footer

Post by Silvio.Falconi »

..
Last edited by Silvio.Falconi on Thu Apr 30, 2020 8:31 pm, edited 1 time in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Marc Venken
Posts: 1485
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: error on xbrowse footer

Post by Marc Venken »

Maybe :

xbrNumFormat( "E", .t. ) // "E" for European, "A" for American and others
// .t. for showing thousand separators
Marc Venken
Using: FWH 23.08 with Harbour
User avatar
Silvio.Falconi
Posts: 7138
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: error on xbrowse footer

Post by Silvio.Falconi »

Marc Venken wrote:Maybe :

xbrNumFormat( "E", .t. ) // "E" for European, "A" for American and others
// .t. for showing thousand separators


but why the same source code on another procedure run ok ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
Posts: 7138
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: error on xbrowse footer

Post by Silvio.Falconi »

allready tested not run xbrNumFormat( "E", .t. )
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Otto
Posts: 6404
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 24 times
Been thanked: 2 times
Contact:

Re: error on xbrowse footer

Post by Otto »

Hello Silvio,

I read that this summer, it is necessary to reserve online for the umbrellas on the beaches.
You are only allowed to enter beaches with reservation cards.

Do you already have software for this?

At the moment, it looks that you must place orders in restaurants with your smartphone after coronavirus restart.
We have nearly ready our ordering system made with mod harbour.

https://www.modharbour.club/mh_bestellservice/restaurant.prg

Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: error on xbrowse footer

Post by cnavarro »

Otto wrote:
.../...

At the moment, it looks that you must place orders in restaurants with your smartphone after coronavirus restart.
We have nearly ready our ordering system made with mod harbour.

https://www.modharbour.club/mh_bestellservice/restaurant.prg

Best regards
Otto


Dear Otto, I obtain this error
Error: Argument error
operation: +
[ 1] = C C:/xampp/htdocs/mh_bestellservice/orders/
[ 2] = U nil
called from: CHARACTER:__OPPLUS, line: 0
called from: pcode.hrb, MAIN, line: 85
called from: HB_HRBDO, line: 0
called from: ..\apache.prg, EXECUTE, line: 143
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
Otto
Posts: 6404
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 24 times
Been thanked: 2 times
Contact:

Re: error on xbrowse footer

Post by Otto »

Dear Cristobal,
thanks for your help. which browser do you use.
The link should actually open this page:
Best regards,
Otto

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: error on xbrowse footer

Post by cnavarro »

Otto, I tested with Chrome and Firefox, and Edge, same error
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
Otto
Posts: 6404
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 24 times
Been thanked: 2 times
Contact:

Re: error on xbrowse footer

Post by Otto »

Dear Cristobal,
are you clicking on this link:
https://www.modharbour.club/mh_bestellservice/restaurant.prg

Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
Post Reply