How to select a single word? - InfoPath Dev
in

InfoPath Dev

How to select a single word?

Last post 05-10-2009 07:38 AM by westman. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-10-2009 07:38 AM

    How to select a single word?

    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.

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.