Results 1 to 6 of 6

Thread: what is difference between Multiline text box and a rich text box?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2010
    Posts
    198

    what is difference between Multiline text box and a rich text box?

    What extra feature we are getting in it.?

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,428

    Re: what is difference between Multiline text box and a rich text box?

    Well, Rich Text for one.

    That being Bolding, Italics, the ability to save the RTB contents with one line etc etc.

  3. #3
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: what is difference between Multiline text box and a rich text box?

    There are plenty of differences. Here are couple of them...

    Richtextbox (RTB) allows you to format text, open RTF formatted documents and view them as well as saving into those formats.

    In a Textbox (TB) you cant really format them, its just only one font or 1 color or whatever, with an RTB you can format selected text or color certain text, change the font of text etc....

    You can also tell RTB to detect url links automatically whereas a TB can't do this. RTB is pretty much just like wordpad and TB like Notepad in Windows.

    You can select text, insert images, change fonts, change colors, load and save rich text formats or plain text formats - you can't do it with a TB except for the fonts but even then you can only have 1 font applied to on a TB.

    If you want more technical details, then I would suggest you to actually compare their properties and understand their capabilities

    Hope this helps...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: what is difference between Multiline text box and a rich text box?

    Another way to think of them is to compare what you can do in NotePad vs. WordPad.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jan 2010
    Posts
    198

    Re: what is difference between Multiline text box and a rich text box?

    Thanks a lot for your help and time.
    Could you please suggest how to highlight alternate rows if it have multiline texts.?

  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,929

    Re: what is difference between Multiline text box and a rich text box?

    Can you do it (manually) in Notepad?

    If not, you can't do it in a multiline textbox.



    If you want to do it in a RichTextBox, see the tutorial about it in the "Controls" section of our Classic VB FAQs (in the FAQ forum)

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