Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Control Methods >
SetProperty
The SetProperty method sets visual properties of a control.
Syntax
controlVar.SetProperty(propName, propValue)
Argument Description propName The name of the property to be set, as described in the following table propValue The value to assign to the property, as described in the following table
Returns
Not applicable
Usage
SetProperty can be used with the following controls: CheckBox, ComboBox, TextBox, and TextArea.
If more than one property is to be set, each must be set in a separate statement.
The following table lists the properties that can be set for a control, and the values that can be assigned to them.
Used With
Browser Script
Example
The following code shows the use of SetProperty:
objCheckBox.SetProperty("FontColor", "f0f0f0");
objCheckBox.SetProperty("FontStyle", "italic");
objCheckBox.SetProperty("FontType", "Verdana");
objCheckBox.SetProperty("FontSize", "25pt");
objCheckBox.SetProperty("BgColor", "00f000");
objCheckBox.SetProperty("Width", "100");
objCheckBox.SetProperty("Height", "100");
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference Published: 18 June 2003 |