text align

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pascal

    #1

    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


    Ressource pédagogique SC@LPA.



  • Chris

    #2
    Re: text align

    Pascal wrote:[color=blue]
    > 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
    >
    >[/color]

    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

    Comment

    • Pascal

      #3
      Re: text align



      --
      bonjour

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

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

      Ressource pédagogique SC@LPA.



      Comment

      • Mythran

        #4
        Re: text align


        "Chris" <no@spam.com> wrote in message
        news:OFglT31fGH A.1208@TK2MSFTN GP02.phx.gbl...[color=blue]
        > Pascal wrote:[color=green]
        >> 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[/color]
        >
        > 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[/color]

        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

        Comment

        • Herfried K. Wagner [MVP]

          #5
          Re: text align

          "Mythran" <kip_potter@hot mail.comREMOVET RAIL> schrieb:[color=blue][color=green][color=darkred]
          >>> 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[/color]
          >>
          >> 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.[/color]
          >
          > I'm not positive, but isn't Courier New a true-type font?[/color]

          Yes, that's true, Courier New is a TrueType font. I believe the OP wanted
          to type monospace font or non-proportional font.
          [color=blue]
          > I mean, doesn't true-type mean that what you see on the screen
          > is what you get from the printer?[/color]

          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/>

          Comment

          Working...