Results 1 to 5 of 5

Thread: Get the current cursor position from TextBox control

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Lövéte, Hargita
    Posts
    66

    Get the current cursor position from TextBox control

    I have a TextBox control (MSForms.TextBox) and I manipulate the characters before writing in the TextBox. How can I get the actual character position where I insert the character.

    With Regards,
    fazek

  2. #2
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    VB Code:
    1. Textbox.SelStart

    use that property )
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  3. #3
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    VB Code:
    1. Textbox.SelStart

    use that property
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Lövéte, Hargita
    Posts
    66
    Thanks a lot. Have a nice day!

    With Regards,
    fazek

  5. #5
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    ur welcome
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width