System.UI.findControl¶
Description¶
Find the control instance in the page.
Grammar¶
System.UI.findControl(name: string): any
- Parameter
name - The name of thecontrol to be queried, and the control type can be inferred directly from thecontrol name.
- Return
Control instance
Code Example¶
When the boiler temperature is too high, display the alarm message on label1.