KB-37348: Opening a screen when an object’s alarm is activated.

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.

Attachments:

AlarmScreen.zip

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *