API Reference - Device.GetHMIFocus()
Device.GetHMIFocus()
Device.GetHMIFocus()
| Description | Get the focus of the HMI |
| Response | boolean True if focus is on portal, else False |
| 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