Hi all,
I'm trying to create a thesaurus in my locale language. here's the situation:
example: my form contains a few text box, (named to tboxA, tboxB, tboxC and tboxD) and other controls. I've created my own custom toolbar that contains the thesaurus button. So, let say, a user type a sentence such as "I like to drive and speeding!" in tboxA. and then the user want to search other word that have the same meaning as "like". So user highlight or put the mouse cursor on "like". How do I proceed from this point? what method should I use to get the selected word? Any example codes?
Second question; If a user type "I want to fly" in tboxC and user want to use the thesaurus. How do I get the current cursor position(which is in tboxC) and retrieve the selected word?
Thank you for any help.
BTW, I'm using VB and visual studio 2005. infopath version is 2007.