TextBox cursor location

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • charvi
    New Member
    • May 2007
    • 121

    TextBox cursor location

    i have a text box in which i have a sentence as hi good morning.now i want the cursor at the enof word morning in text box
    how to do
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    There is a SelectionStart property where you can set the character index of where you want the cursor to be (I think)

    Comment

    • ShahbazAshraf
      New Member
      • Mar 2008
      • 36

      #3
      In web or windows application ?

      Comment

      • malav123
        New Member
        • Feb 2008
        • 217

        #4
        Hi charvi,
        tell me exact your requirement, when you need cursor at thart place?

        Comment

        • charvi
          New Member
          • May 2007
          • 121

          #5
          Originally posted by ShahbazAshraf
          In web or windows application ?
          this is i want for windows application windows application

          Comment

          • ShahbazAshraf
            New Member
            • Mar 2008
            • 36

            #6
            In windows application by default the cursor is set at end of textbox text so wht your further requirement ?

            Comment

            • malav123
              New Member
              • Feb 2008
              • 217

              #7
              Yes it's true... Bydefault cursor will be at end of text...

              Comment

              Working...