Wednesday, July 21, 2010

How can we set focus on a different applet within a view

Place the following code from where you want the focus to shift.

ActiveApplet = theApplication().FindApplet("WM OFFR Response Lead Form Applet");
ActiveCtrl = ActiveApplet.FindActiveXControl("CallBackRequired");
Activectrl.focus();

No comments:

Post a Comment