Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >

ActiveApplet Method


ActiveApplet returns a reference to the applet that currently has focus.

Syntax

theApplication().ActiveApplet();

Argument
Description

Not applicable

 

Returns

The name of the applet instance that has focus

Usage

Use this method to determine which applet currently has focus. The applet typically has a blue border to show that it is active.

Used With

Browser Script

Example

function Applet_PreInvokeMethod (name, inputPropSet)
{
   switch (name)
   {
      case "Drilldown":
         var activeapplet = theApplication().ActiveApplet();
         var activeappletname = activeapplet.Name();
         theApplication().SWEAlert("Here is the applet we are drilling down from "
         + activeappletname);
      break;
   }
   return ("ContinueOperation");
}

Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.