Challenge IX

<< Click to Display Table of Contents >>

 

Challenge IX

Create a Command Button near the alarm banner to acknowledge all active alarms in this application

 

TIP

This action can be performed using a method from an E3Alarm object.

 

1.Open Alarm_Screen.

2.Create a Command Button object near the E3Alarm object. If needed, resize the banner so that the Screen contains enough space for this button.

3.Configure this button's caption as "Acknowledge all".

Alarm_Screen

Alarm_Screen

4.Select the Scripts tab of this object and insert a script Script.

5.Open AppBrowser and locate the AckAll method of Screen's E3Alarm.

AckAll method

AckAll method

6.Paste the expression and remove the optional Operator parameter.

7.If needed, add a comment above the line to identify its purpose.

Scripts tab

Scripts tab

Was this page useful?