Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. A textbox with squiggly lines in different colours

A textbox with squiggly lines in different colours

Scheduled Pinned Locked Moved Visual Basic
salesc++question
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jinxster
    wrote on last edited by
    #1

    Dear All, Sorry this is a newbie type question though er, I have been programming for er 10 years. I have found one or 2 C++ pieces of code to enable squiggly lines under a text box. Alas I am no good at C++ anymore and am a VB er person. I find references to an Extended Rich Text control, but I have seen in other applications without rich text control. Unless that is just appearance. What would be the recommended path for me to try, I can use a rich text box, but ultimately I would like to have a textbox which has a spell check with some other thesauras type feature (it is for a recruitment project and I would like to have words that move people into categories - eg: if it finds FMCG underlines in blue and if the use right clicks it says it is part of Sales, Marketing and Advertising.) Many thanks

    D E 2 Replies Last reply
    0
    • J jinxster

      Dear All, Sorry this is a newbie type question though er, I have been programming for er 10 years. I have found one or 2 C++ pieces of code to enable squiggly lines under a text box. Alas I am no good at C++ anymore and am a VB er person. I find references to an Extended Rich Text control, but I have seen in other applications without rich text control. Unless that is just appearance. What would be the recommended path for me to try, I can use a rich text box, but ultimately I would like to have a textbox which has a spell check with some other thesauras type feature (it is for a recruitment project and I would like to have words that move people into categories - eg: if it finds FMCG underlines in blue and if the use right clicks it says it is part of Sales, Marketing and Advertising.) Many thanks

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      jinxster wrote:

      squiggly lines

      Not sure what this means. As far as spell check is concerned, there is some help here[^] and here[^]. In case you are using .Net Framework 3.5, there is a SpellCheck class which might help you.

      Happy Holi[^] जय हिंद

      E 1 Reply Last reply
      0
      • D dan sh

        jinxster wrote:

        squiggly lines

        Not sure what this means. As far as spell check is concerned, there is some help here[^] and here[^]. In case you are using .Net Framework 3.5, there is a SpellCheck class which might help you.

        Happy Holi[^] जय हिंद

        E Offline
        E Offline
        Expert Coming
        wrote on last edited by
        #3

        He means the lines that show up in say Microsoft Word when you spell something wrong.

        The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

        D 1 Reply Last reply
        0
        • J jinxster

          Dear All, Sorry this is a newbie type question though er, I have been programming for er 10 years. I have found one or 2 C++ pieces of code to enable squiggly lines under a text box. Alas I am no good at C++ anymore and am a VB er person. I find references to an Extended Rich Text control, but I have seen in other applications without rich text control. Unless that is just appearance. What would be the recommended path for me to try, I can use a rich text box, but ultimately I would like to have a textbox which has a spell check with some other thesauras type feature (it is for a recruitment project and I would like to have words that move people into categories - eg: if it finds FMCG underlines in blue and if the use right clicks it says it is part of Sales, Marketing and Advertising.) Many thanks

          E Offline
          E Offline
          Expert Coming
          wrote on last edited by
          #4

          This could be an option http://www.codeproject.com/KB/WPF/SmartTextBox.aspx[^]

          The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

          1 Reply Last reply
          0
          • E Expert Coming

            He means the lines that show up in say Microsoft Word when you spell something wrong.

            The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

            D Offline
            D Offline
            dan sh
            wrote on last edited by
            #5

            OK. First help link I have posted does that. But not the lines, it changes the font color to red. I dont know if we can change color change to squiggly lines.

            Happy Holi[^] जय हिंद

            E 1 Reply Last reply
            0
            • D dan sh

              OK. First help link I have posted does that. But not the lines, it changes the font color to red. I dont know if we can change color change to squiggly lines.

              Happy Holi[^] जय हिंद

              E Offline
              E Offline
              Expert Coming
              wrote on last edited by
              #6

              You can with a custom drawing routine, or the link I posted did it with WPF. I've seen it done before, but can't find it now.

              The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups