Modifying Infopath controls through scripting

Is it possible to highlight an infopath control, say a textbox, via scripting. I want to focus/highlight a textbox on an infopath form when something is clicked in my custom taskpane.

How can I achieve this

Thanks

rahul



Answer this question

Modifying Infopath controls through scripting