Results 1 to 3 of 3

Thread: Clearing a Rich Text Box

  1. #1

    Thread Starter
    Addicted Member WAcKeD's Avatar
    Join Date
    Aug 2000
    Posts
    211

    Exclamation

    How would you clear all of the text out of a rich text box?? I've been trying to figure it out ofr 2 hours and I can't seem to get it to work. Also, How would you make certain text in the rich text colored??? Please respond.
    Thankz,
    WAcKeD

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    clear text

    Richtextbox1.text = ""

    for color check here:
    http://forums.vb-world.net/showthrea...threadid=32273
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3
    Guest
    Use the SelColor property to change the color.
    Code:
    RichTextBox1.SelColor = vbBlue

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