Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Control Methods >
GetProperty
The GetProperty method returns the value of the property of a control.
Syntax
controlVar.GetProperty(propName)
Returns
The value of the property of a control.
Usage
GetProperty can be used with the following controls: CheckBox, ComboBox, TextBox, TextArea, and Label.
Use GetProperty to call the following properties: Background Color, Enabled, FontType, FontColor, FontSize, FontStyle, Height, Width, Shown, Read Only, Visible.
If more than one property is to be set, each must be set in a separate statement.
Used With
Browser Script
Example
This code sample uses GetProperty to return values for FontSize, Background Color, Width, and Height.
TheApplication().SWEAlert("checkbox.FontSize : " + objCheckBox.GetProperty("FontSize"));
TheApplication().SWEAlert("checkbox.BgColor : " + objCheckBox.GetProperty("BgColor"));
TheApplication().SWEAlert("checkbox.Width : " + objCheckBox.GetProperty("Width"));
TheApplication().SWEAlert("checkbox.Height : " + objCheckBox.GetProperty("Height"));
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference Published: 18 June 2003 |