API Reference - Device.GetHMIFocus()
Device.GetHMIFocus()
Device.GetHMIFocus()
| Description | Get the focus of the HMI | 
| Response | boolean Trueif focus is on portal, elseFalse | 
| Parameter | Void | 
Example
1
2
3
4
5
if (Device.GetHMIFocus() === False) {
	//focus is not on portal
} else {
	//focus is on portal
}
Appeared in Software version 30.11.04.10