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. C#
  4. RichTextBox

RichTextBox

Scheduled Pinned Locked Moved C#
question
5 Posts 2 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.
  • M Offline
    M Offline
    mihksoft
    wrote on last edited by
    #1

    Hy I have a form with a richTextBox and a button I have text in richTextBox. When I press the button I want to insert another text in the richTextBox, but I don't use the richTextBox.Text.Insert or richTextBox.RTF.Insert, I want to insert the text like I type in richTextBox. Is it possible? thx

    C 1 Reply Last reply
    0
    • M mihksoft

      Hy I have a form with a richTextBox and a button I have text in richTextBox. When I press the button I want to insert another text in the richTextBox, but I don't use the richTextBox.Text.Insert or richTextBox.RTF.Insert, I want to insert the text like I type in richTextBox. Is it possible? thx

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You want the characters to appear as if you're typing ? You change the Text property, but do it with a timer.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      M 1 Reply Last reply
      0
      • C Christian Graus

        You want the characters to appear as if you're typing ? You change the Text property, but do it with a timer.

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        M Offline
        M Offline
        mihksoft
        wrote on last edited by
        #3

        I don't want to see the effect in real time not in timer time

        C 1 Reply Last reply
        0
        • M mihksoft

          I don't want to see the effect in real time not in timer time

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          real time is instant. If you want it to look as if it's being typed, it needs to be slowed down, and you need a timer.

          Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          M 1 Reply Last reply
          0
          • C Christian Graus

            real time is instant. If you want it to look as if it's being typed, it needs to be slowed down, and you need a timer.

            Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

            M Offline
            M Offline
            mihksoft
            wrote on last edited by
            #5

            It works with SendKeys.Send("{BACKSPACE}");

            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