473,385 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

text align

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
May 24 '06 #1
4 1553
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
May 24 '06 #2


--
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
May 24 '06 #3

"Chris" <no@spam.com> wrote in message
news:OF**************@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

May 24 '06 #4
"Mythran" <ki********@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/>

May 24 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: peck2000 | last post by:
Related to my earleir post ... this is the same project to re-purpose the Classifieds application in BEGINNING ASP 3.0 (Wrox) to a comicbook database ... This is a brainteaser that should have...
1
by: plumba | last post by:
Hi all. I have a form which has a table and within the rows of the table are simple text input boxes. The ONLY problems with this is that when the form is posted (in text format) if the number of...
4
by: pablorp80 | last post by:
Hello, Here is what I need: I need the focus and the cursor set to a textbox named txtGT, every time no matter if it is the first page load or whether it is a postback. Here is the problem: I...
4
cassbiz
by: cassbiz | last post by:
Could use some help here. This script is carrying over an image just fine but the text isn't coming over. can you see why it is not working???? from the form I want to carry over two lines of...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
13
by: Stevo | last post by:
I've found that for IE6+, if you add the property text-align:center to a DIV, then *anything* inside it gets centered. That can be a table, an object/embed, another DIV, an image, or some text. ...
0
by: chandrasekhar | last post by:
Hi I have developed a web page with some controls. I put all of them in session variables. I passed this values in the page. When an user enter some data in form fields and click the buttton ,...
3
by: happyse27 | last post by:
Hi All, I wanted to align the text box for user registration but the code just wont budge... Kindly advise what is wrong? Cheers... Andrew <HTML>
5
fieryscream
by: fieryscream | last post by:
I have an address form that user fills out and whent they click same as above it fills out the postal address how do i make the postal address non editable once the user clicks the same as above...
7
by: kirkgilbert | last post by:
I am trying to do an onchange event in a form using a text field. The form is tied to a record set that is part of a repeated region. One the first record when I edit the data it works perfectly. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.