Allows a user to set or modify the style properties of the selected control available on the specific page during run time.
Smartcode
Syntax
SetDisplayStyle(controlname,value)
Parameters
- controlname(Required) – Name of the control
- value(Required) – Style to be applied
- String – A-Z
- Length – 500 Characters
Example
SetDisplayStyle(Header_1,’red’)
Directcode
Syntax
Orefuncs.Setstyle
Parameters
- control(Required) – To find control name
- state-this.state(Required) – To get, update and replace the value of the corresponding control
- key-value pair – Style values to be updated
Example
SetDisplayStyle(Header_1,’red’)