Question:
How can I open the screen where a certain object is when its alarm is activated?
Solution:
To do so, follow these steps:
1. Insert an XObject in the application;
2. In the XObject, insert the alarms to be supervised;
3. Create a Boolean property in the XObject named Alarm;
4. Link the Alarm property of the area where the object’s alarms are to the XObject’s Alarm property;
5. Create an Internal Tag in the Viewer to be responsible for opening the screen of the object in alarm and name it AlarmActivated;
6. In the Internal Tag, create a number of events equal to the number of objects inserted in the XObject to supervise the XObject’s Alarm property; then, insert a script to call the screen of the object in alarm in all created events.
NOTE: Attached to this article is a sample application.