Results 1 to 4 of 4

Thread: making text scroll

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2000
    Location
    Galt, Ca
    Posts
    47
    i have 2 text boxes(text1 and text2). i am tring to figure out how to do this:

    when you hit "ok" the text in text1 scrolls.

    -example-
    text1.text="text"

    'when you hit ok it should do this:

    text
    ext
    xt
    t


    can you help me? if you can then thank you

    emptywords

  2. #2
    Addicted Member pardede's Avatar
    Join Date
    Jan 2000
    Posts
    232
    Code:
    do
       text1.text = mid$(text1.text, 2)
    loop until len(text1.text) = 1
    text1.text = ""
    this will happen very quick so you might want to built in some delay

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    I really don't know why you mentioned the text2 textbox. As for your example this should make it:

    do until text1.text=""
    text1.text=mid(text1.text,2)
    loop

    You should insert a dealy in the loop to make the text go slower

  4. #4
    Addicted Member pardede's Avatar
    Join Date
    Jan 2000
    Posts
    232

    WOW!

    Kedaman, what a coincidence... same idea posted at the same time!

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