FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Also for the euro into xbrowse
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Also for the euro into xbrowse
Posted: Fri Apr 22, 2011 04:02 PM
I can show the symbol of euro into xbrowse
but I have set

WITH OBJECT oApp():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 :





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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Also for the euro into xbrowse
Posted: Fri Apr 22, 2011 05:24 PM

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

Regards



G. N. Rao.

Hyderabad, India
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: Also for the euro into xbrowse
Posted: Fri Apr 22, 2011 09:34 PM

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
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: Also for the euro into xbrowse
Posted: Sat Apr 23, 2011 08:35 PM
Mr Rao

I m trying also with

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


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

:nFootStrAlign := AL_RIGHT
:nFootBmpNo := 1 // Footer BMP
:-)DataFont := oFontGrid
END

but not run ok

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



Falconi Silvio
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Also for the euro into xbrowse
Posted: Sun Apr 24, 2011 02:54 AM
[quote
only with Lucida Console run ok!!!!!!!!!

Good.
:cEditPicture := "@ €99,999.99 "

You may use this picture
Code (fw): Select all Collapse
:cEditPicture := "€ 99,999.99"
Regards



G. N. Rao.

Hyderabad, India
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: Also for the euro into xbrowse
Posted: Sun Apr 24, 2011 03:24 PM

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Also for the euro into xbrowse
Posted: Sun Apr 24, 2011 06:56 PM

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

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion