Results 1 to 2 of 2

Thread: How do I get my cursor position??

  1. #1

    Thread Starter
    Lively Member spdracr's Avatar
    Join Date
    Oct 2003
    Location
    Kansas
    Posts
    115

    How do I get my cursor position??

    I am needing to get the position of my cursor in a richtextbox. Not the mouse position... the blinking cursor.

    How in the world can I do this??

    Here is what I am trying to accomplish if anybody knows a better way. I have a richtextbox and a toolbar. I want the toolbar buttons to update according to the fonttype, fontsize, and fontstyle of the peice of text the cursor is near. You know, just like MS Word. If you click your mouse on a word, all of this info is updated in the toolbar. If you place your cursor in a word, and then move it by using the arrow buttons it still updates the info.

    Can anybody help??
    Thanks!

  2. #2

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