Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >
ActiveApplet returns a reference to the applet that currently has focus.
The name of the applet instance that has focus
Use this method to determine which applet currently has focus. The applet typically has a blue border to show that it is active.
function Applet_PreInvokeMethod (name, inputPropSet)
var activeapplet = theApplication().ActiveApplet();
var activeappletname = activeapplet.Name();
alert("Here is the applet we are drilling down from " + activeappletname);