Determine location of textbox changes

Dave Vorgang <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.advanced
Message-ID <34BDEF4FDF97EC46B7565B38A5F93FF702378FAB517D@MSDMAIL.medford.k12.or.us>
Hi,

I need to know the character position in a textbox that a key was pressed.

For example:  I have the following in a textbox:
test

And the user clicks between the 'e' and 's' and types a 'o'.   At that point I would like to know that the 3rd  charter was the one that was typed.

Also, if the user is not in character insert mode (overwrite mode) and they replace the letter 'e' with 'e', I would like to know that the 2nd character was pressed.

Thank you for your time,

Dave Vorgang
Senior Programmer / Analyst
Medford School District - Information Technology
(541) 842-1021
mailto:[email protected]<BLOCKED::mailto:[email protected]>


===================================
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.