Results 1 to 4 of 4

Thread: Text in a text box

  1. #1
    Guest
    Ok, i have a large multi-line text box and i want the text to be formated like this...

    **************

    ****************************
    ************
    *****************************************

    I dont know how to do carrige returns in a text box. Is there a command?

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Have multiline set to true and add vbCrLf between each line
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3
    Guest
    Ok, i got that to work. Now how would i change certain words to blue. Not while im typing but like...

    text1.text = "Hello" + vbBlue + "and goodbye"

    now i know that wont work, i typed it to show what i meant. Thanks...

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    You need an RFT textbox to do that. Go search and you´ll find
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

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