I don't see any reason for using API in this situation. You can simply pass through controls collection and find which textBox holds the selected text. Very simple task right?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.