GetAppletControlInstance Method
The GetAppletControlInstance method creates a control. It returns the name of the control that it creates. It uses the following syntax:
GetAppletControlInstance (name, uiType, displayName, width, height)
where:
name is a string that contains the name that Siebel Open UI assigns to the control.
uiType is a string that identifies the type of the control. For more information, see Siebel Object Types Reference.
displayName is a string that contains the name of the control that Siebel Open UI displays in the client.
width is a string that contains a number that specifies the width of the control, in pixels.
height is a string that contains a number that specifies the height of the control, in pixels.
For example:
var myControl = SiebelApp.S_App.GetAppletControlInstance (
"MyDropDown",
constants.get("SWE_CTRL_COMBOBOX"),
"I want this to appear on the screen",
"50",
"20");
For another example that uses the GetAppletControlInstance method, see Customizing the Setup Logic of the Presentation Model.