Scroll to bottom with richtextbox?

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

    Scroll to bottom with richtextbox?

    Hello

    I was wondering if you guys could tell me to scroll the richtextbox's
    content to bottom if there it has enough text to make a scroll that is.

    everytime i append text to it i would like it to scroll to bottom, how is
    that done?

    /Lasse


  • Eric Cadwell

    #2
    Re: Scroll to bottom with richtextbox?

    The easiest way:

    richTextBox3.Fo cus();
    richTextBox3.Se lectionStart = richTextBox3.Te xt.Length;

    HTH,
    Eric Cadwell



    "Lasse Edsvik" <lasse@nospam.c om> wrote in message
    news:eHjf$jphDH A.1048@TK2MSFTN GP11.phx.gbl...[color=blue]
    > Hello
    >
    > I was wondering if you guys could tell me to scroll the richtextbox's
    > content to bottom if there it has enough text to make a scroll that is.
    >
    > everytime i append text to it i would like it to scroll to bottom, how is
    > that done?
    >
    > /Lasse
    >
    >[/color]


    Comment

    Working...