Results 1 to 3 of 3

Thread: how do you scroll text up in a text box?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 1999
    Location
    Albany, NY, USA
    Posts
    15

    Post

    Hi,
    I think I must be missing something obvious because I see this done everywhere but haven't figured out how to do it yet.
    I have 1 rich text box control that is large and is set for vertical scroll.
    I have a text box control that is just one line in height. I want to type into the text box and then have whatever I type show up on the rich text box. I can get the text there easy enough, but it starts at the top and works it's way down.
    I'd like to have all of the incoming text start at the bottom and have the older text be displayed above it....just like on any chat type program...so how do you do this?

    Thanks

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Oshkosh, WI
    Posts
    163

    Post

    It sounds like your appending your list box text to the top (or front) of the rich textbox test ie.

    richbox.text = newtext.text & richbox.text

    Just swap the 2 boxes like:

    richbox.text = richboxtext & newtext.text

    That will put the new text at the bottom of the rich textbox. You may have to scroll the rich textbox to make the new text visible.

  3. #3
    Junior Member jolivo's Avatar
    Join Date
    Nov 2001
    Location
    Cincinnati, Ohio
    Posts
    30

    Unhappy

    ...scary.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width