Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Control Methods > GetProperty MethodThe GetProperty method returns the value of the property of a control. SyntaxcontrolVar.GetProperty(propName) ReturnsThe value of the property of a control. UsageGetProperty 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 retrieved, each must be retrieved in a separate statement. Used WithExampleThis code sample uses GetProperty to return values for FontSize, Background Color, Width, and Height: theApplication().SWEAlert("checkbox.FontSize : " + objCheckBox.GetProperty("FontSize")); |
Siebel Object Interfaces Reference |