Also for the euro into xbrowse

Post Reply
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Also for the euro into xbrowse

Post by Silvio »

I can show the symbol of euro into xbrowse
but I have set

WITH OBJECT oApp():oGrid:aCols[ 10 ]
:nDataStrAlign := AL_RIGHT
:cEditPicture := "@ €99,999.99 "
:lTotal := .t.
:nTotal := 0
:nFootStrAlign := AL_RIGHT
END

the problem is I can show the symbol euro NOT on the same position





because the ammount is different on each record

Look :

Image



I cannot put the € on the end of this string ( :cEditPicture := "@ 99,999.99 € ") because in Italy is no possible because the symbol € is used before of numbers


how resolve this problem
Best Regards, Saludos

Falconi Silvio
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Also for the euro into xbrowse

Post by nageswaragunupudi »

@ is not necessary in the format.
Please use fixed width font like Courier, Lucida Console.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Also for the euro into xbrowse

Post by Silvio »

Mr Rao Iuse on windows seven this command

oFont:= TFont():New( GetDefaultFontName(), 0, GetDefaultFontHeight(),, )

because I have several problem with Windows Seven Home Premium 64 bit
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Also for the euro into xbrowse

Post by Silvio »

Mr Rao

I m trying also with

DEFINE FONT oFontGrid NAME "Courier," SIZE 0,GetDefaultFontHeight()


WITH OBJECT oApp():oGrid:aCols[ 10 ]
:AddResource("cassa16")
:nDataStrAlign := AL_RIGHT
:cEditPicture := "@ €99,999.99 "
:lTotal := .t.
:nTotal := 0

:nFootStrAlign := AL_RIGHT
:nFootBmpNo := 1 // Footer BMP
:oDataFont := oFontGrid
END

but not run ok

only with Lucida Console run ok!!!!!!!!!
Best Regards, Saludos

Falconi Silvio
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Also for the euro into xbrowse

Post by nageswaragunupudi »

[quote
only with Lucida Console run ok!!!!!!!!!
[/quote]
Good.
:cEditPicture := "@ €99,999.99 "
You may use this picture

Code: Select all

:cEditPicture := "€ 99,999.99"
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Also for the euro into xbrowse

Post by Silvio »

I don't Know why but now not run

i try with courier, arial,verdana lucida console,Book Antiqua

I cannot show the € on this computer with w7 home premium 64 bit
Best Regards, Saludos

Falconi Silvio
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Also for the euro into xbrowse

Post by nageswaragunupudi »

Please do not assign any value to oCol:nWidth. Let XBrowse decide the width.
Regards

G. N. Rao.
Hyderabad, India
Post Reply