Siebel Object Interfaces Reference > Interfaces Reference > Applet Methods >

FindActiveXControl Method


FindActiveXControl returns a reference to a DOM element based upon the name specified in the name argument.

Syntax

Applet.FindActiveXControl(controlName)

Argument
Description

controlName

Literal string or string variable containing the name of the desired control

Returns

The control object identified in controlName.

Usage

FindActiveXControl is used for finding controls on form applets. It does not locate list columns on list applets.

Used With

Browser Script

Example

The following Browser Script example interacts with a Microsoft slide ActiveX control that has been placed on a Siebel applet:

// Get a reference to the control
var SlideCtrl = FindActiveXControl("SliderControl");

// Display some of the ActiveX Control's properties
theApplication().SWEAlert ("element id = " + SlideCtrl.id);
theApplication().SWEAlert ("Max ticks = " + SlideCtrl.Max);

SlideCtrl.SelStart = 2; // Set a control property
SlideCtrl.Refresh(); // Call the control's Refresh method

var myCustomCtrl = FindActiveXControl("TestControl");
myCustomCtrl.TestProperty01 = "abc";
myCustomCtrl.Style.visible = "hidden"; // Use a Style sheet property

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