Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Applet Methods >
FindActiveXControl
FindActiveXControl returns a reference to a DOM element based upon the name specified in the name argument.
Syntax
oApplet.FindActiveXControl(controlName)
Argument Description controlName Literal string or string variable containing the name of the desired controlReturns
The control object identified in controlName.
Used With
Browser Script
Example
Here is a Browser Script example, which interacts with the Microsoft slide control:
var elem = FindActiveXControl("SliderControl");
TheApplication().SWEAlert ("element id = " + elem.id); // id of the element
TheApplication().SWEAlert ("Max ticks = " + elem.Max); // max number of ticks in the slider control
elem.SelStart = 2; // setting SelStart property
elem.Refresh(); // invoking the Refresh method on the control
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference Published: 18 June 2003 |