Home All Groups Group Topic Archive Search About
Author
24 May 2006 6:06 PM
Pascal
bonjour

does somebody know how to keep the alignement of letters like in the notepad
of windows ?
I notice that's different between notepad and a richtextbox.... don't know
why and how to keep it like in notepad...
(if man types 6 letters and return and 6 more letters. the last i of the
second line is not aligned... why ?
a b c d e f     => 6 letters
g h i j i i        => 6 letters

is there a way to open this txt file and keep the alignement ?

thank you


http://www.scalpa.info

Author
24 May 2006 6:14 PM
Chris
Pascal wrote:
Show quoteHide quote
> bonjour
>
> does somebody know how to keep the alignement of letters like in the notepad
> of windows ?
> I notice that's different between notepad and a richtextbox.... don't know
> why and how to keep it like in notepad...
> (if man types 6 letters and return and 6 more letters. the last i of the
> second line is not aligned... why ?
> a b c d e f     => 6 letters
> g h i j i i        => 6 letters
>
> is there a way to open this txt file and keep the alignement ?
>
> thank you
>
>
> http://www.scalpa.info
>
>

If you want the letter to always been aligned you need to use a fixed
width font like "Courrier New".  True-Type fonts a D is a different
width than an l.

Chris
Author
24 May 2006 6:47 PM
Pascal
--
bonjour

thanks for this quick answer i'll work around that.

yes that's fine... is it the only one with fixed width ?

http://www.scalpa.info
Author
24 May 2006 8:05 PM
Mythran
Show quote Hide quote
"Chris" <no@spam.com> wrote in message
news:OFglT31fGHA.1208@TK2MSFTNGP02.phx.gbl...
> Pascal wrote:
>> bonjour
>>
>> does somebody know how to keep the alignement of letters like in the
>> notepad of windows ?
>> I notice that's different between notepad and a richtextbox.... don't
>> know why and how to keep it like in notepad...
>> (if man types 6 letters and return and 6 more letters. the last i of the
>> second line is not aligned... why ?
>> a b c d e f     => 6 letters
>> g h i j i i        => 6 letters
>>
>> is there a way to open this txt file and keep the alignement ?
>>
>> thank you
>>
>>
>> http://www.scalpa.info
>
> If you want the letter to always been aligned you need to use a fixed
> width font like "Courrier New".  True-Type fonts a D is a different width
> than an l.
>
> Chris

I'm not positive, but isn't Courier New a true-type font?  I mean, doesn't
true-type mean that what you see on the screen is what you get from the
printer?  Once again, not positive...but thought that's what it meant.

Mythran
Author
24 May 2006 9:17 PM
Herfried K. Wagner [MVP]
Show quote Hide quote
"Mythran" <kip_potter@hotmail.comREMOVETRAIL> schrieb:
>>> does somebody know how to keep the alignement of letters like in the
>>> notepad of windows ?
>>> I notice that's different between notepad and a richtextbox.... don't
>>> know why and how to keep it like in notepad...
>>> (if man types 6 letters and return and 6 more letters. the last i of the
>>> second line is not aligned... why ?
>>> a b c d e f     => 6 letters
>>> g h i j i i        => 6 letters
>>>
>>> is there a way to open this txt file and keep the alignement ?
>>>
>>> thank you
>>>
>>>
>>> http://www.scalpa.info
>>
>> If you want the letter to always been aligned you need to use a fixed
>> width font like "Courrier New".  True-Type fonts a D is a different width
>> than an l.
>
> I'm not positive, but isn't Courier New a true-type font?

Yes, that's true, Courier New is a TrueType font.  I believe the OP wanted
to type monospace font or non-proportional font.

> I mean, doesn't true-type mean that what you see on the screen
> is what you get from the printer?

Yes, that's true too.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>