Allows a user to set the value of the property as the given value.
Smartcode
Syntax
SetProperty(controlname, value)
Parameters
- controlname (Required) – Name of the control
- value(Required) – Value of the Property
- Number – 0-9
- Syntax – {Property:Value}
Note:
width, height, maxLength are the allowable properties.
Directcode
Syntax
Orefuncs.SetProperty
Parameters
- controlname(Required) – To find control name
- state-this.state(Required) – To get, update and replace the value of corresponding control
- editingProperty – To get and update the property style
Example
setproperty(‘Text_1′,'{ maxLength: 5 }’);