Page 1 of 1

Also for the euro into xbrowse

Posted: Fri Apr 22, 2011 4:02 pm
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

Re: Also for the euro into xbrowse

Posted: Fri Apr 22, 2011 5:24 pm
by nageswaragunupudi
@ is not necessary in the format.
Please use fixed width font like Courier, Lucida Console.

Re: Also for the euro into xbrowse

Posted: Fri Apr 22, 2011 9:34 pm
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

Re: Also for the euro into xbrowse

Posted: Sat Apr 23, 2011 8:35 pm
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!!!!!!!!!

Re: Also for the euro into xbrowse

Posted: Sun Apr 24, 2011 2:54 am
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"

Re: Also for the euro into xbrowse

Posted: Sun Apr 24, 2011 3:24 pm
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

Re: Also for the euro into xbrowse

Posted: Sun Apr 24, 2011 6:56 pm
by nageswaragunupudi
Please do not assign any value to oCol:nWidth. Let XBrowse decide the width.