what is difference between Multiline text box and a rich text box?-VBForums
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,405

    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.
    Handy References:
    MSDN Library
    ADO Tutorial Excel Tutorial MZTools (VB6)

    • Please pull down the Thread Tools menu and click the 'Mark Thread Resolved' button, or alternately edit your original post and add "Resolved" or place a in the subject when your question(s) have been answered.
    • Please use code tags [highlight=vb] your code goes here between the tags [/highlight] when posting code.

  3. #3
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    11,928

    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...
    The poster formerly known as koolsid
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Posts
    11,722

    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
    37,235

    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
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.