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. Managed C++/CLI
  4. caret

caret

Scheduled Pinned Locked Moved Managed C++/CLI
tutorialcsharp
10 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.
  • R Offline
    R Offline
    rose196
    wrote on last edited by
    #1

    Hai I am using .net windows form application, richtextbox control for creating a text editor. I don't know how to get caret position. Is there any command available to get the caret position. Can you tell me & give example. Thanks in advance Mani.

    G 1 Reply Last reply
    0
    • R rose196

      Hai I am using .net windows form application, richtextbox control for creating a text editor. I don't know how to get caret position. Is there any command available to get the caret position. Can you tell me & give example. Thanks in advance Mani.

      G Offline
      G Offline
      Giorgi Dalakishvili
      wrote on last edited by
      #2

      Here you go: Get the position of the caret[^] In .Net Framework 3.0 there RichTextBox class has a property called CaretPosition

      Giorgi Dalakishvili #region signature my articles #endregion

      R 1 Reply Last reply
      0
      • G Giorgi Dalakishvili

        Here you go: Get the position of the caret[^] In .Net Framework 3.0 there RichTextBox class has a property called CaretPosition

        Giorgi Dalakishvili #region signature my articles #endregion

        R Offline
        R Offline
        rose196
        wrote on last edited by
        #3

        Hai Thanks for reply, Here i am using .Net Framework 2.0,Mc++. Is here any command like caretposition. can you tell me. Thanks

        modified on Thursday, May 15, 2008 10:58 PM

        G 1 Reply Last reply
        0
        • R rose196

          Hai Thanks for reply, Here i am using .Net Framework 2.0,Mc++. Is here any command like caretposition. can you tell me. Thanks

          modified on Thursday, May 15, 2008 10:58 PM

          G Offline
          G Offline
          Giorgi Dalakishvili
          wrote on last edited by
          #4

          Did you have a look at the link I suggested?

          Giorgi Dalakishvili #region signature my articles #endregion

          R 1 Reply Last reply
          0
          • G Giorgi Dalakishvili

            Did you have a look at the link I suggested?

            Giorgi Dalakishvili #region signature my articles #endregion

            R Offline
            R Offline
            rose196
            wrote on last edited by
            #5

            Hai Thanks for reply. I saw that, actually what i want is i want to move the cursor position to the end of the file. while open the file. For that i want to know how to move the caret from one place to another place. your attached document is very helpful for me. Thanks again, Mani,

            G 1 Reply Last reply
            0
            • R rose196

              Hai Thanks for reply. I saw that, actually what i want is i want to move the cursor position to the end of the file. while open the file. For that i want to know how to move the caret from one place to another place. your attached document is very helpful for me. Thanks again, Mani,

              G Offline
              G Offline
              Giorgi Dalakishvili
              wrote on last edited by
              #6

              Do you want to move caret to the end of the text in a textbox or do you want to move cursor position in the stream you are reading from?

              Giorgi Dalakishvili #region signature my articles #endregion

              R 1 Reply Last reply
              0
              • G Giorgi Dalakishvili

                Do you want to move caret to the end of the text in a textbox or do you want to move cursor position in the stream you are reading from?

                Giorgi Dalakishvili #region signature my articles #endregion

                R Offline
                R Offline
                rose196
                wrote on last edited by
                #7

                Hai Thanks for reply I want to move the caret position to end of the textbox. Thanks, Mani,

                G 1 Reply Last reply
                0
                • R rose196

                  Hai Thanks for reply I want to move the caret position to end of the textbox. Thanks, Mani,

                  G Offline
                  G Offline
                  Giorgi Dalakishvili
                  wrote on last edited by
                  #8

                  Here you go: cursor position in textbox [^]

                  Giorgi Dalakishvili #region signature my articles #endregion

                  R 1 Reply Last reply
                  0
                  • G Giorgi Dalakishvili

                    Here you go: cursor position in textbox [^]

                    Giorgi Dalakishvili #region signature my articles #endregion

                    R Offline
                    R Offline
                    rose196
                    wrote on last edited by
                    #9

                    Hai Thank you very much your answers are very helpful to me. Thanks again, Mani,

                    G 1 Reply Last reply
                    0
                    • R rose196

                      Hai Thank you very much your answers are very helpful to me. Thanks again, Mani,

                      G Offline
                      G Offline
                      Giorgi Dalakishvili
                      wrote on last edited by
                      #10

                      Glad to help you :)

                      Giorgi Dalakishvili #region signature my articles #endregion

                      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