Also for the euro into xbrowse

Also for the euro into xbrowse

Postby Silvio » Fri Apr 22, 2011 4:02 pm

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
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Also for the euro into xbrowse

Postby nageswaragunupudi » Fri Apr 22, 2011 5:24 pm

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Also for the euro into xbrowse

Postby Silvio » Fri Apr 22, 2011 9: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Also for the euro into xbrowse

Postby Silvio » Sat Apr 23, 2011 8:35 pm

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
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Also for the euro into xbrowse

Postby nageswaragunupudi » Sun Apr 24, 2011 2:54 am

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

You may use this picture
Code: Select all  Expand view

:cEditPicture := "€ 99,999.99"
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Also for the euro into xbrowse

Postby Silvio » Sun Apr 24, 2011 3: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Also for the euro into xbrowse

Postby nageswaragunupudi » Sun Apr 24, 2011 6:56 pm

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 72 guests