Skip to main content

New atw-script control for use with AcuToWeb
ECN-4662 New atw-script control for use with AcuToWeb (microfocus.com)

	EVALUATE EVENT-TYPE
           WHEN NTF-ATW-EVENT
             EVALUATE event-data-1
               WHEN 1
                     modify js1 CALL("googleMaps")

NTF-ATW-EVENT is obviously a level 88 variable. What is its value?

#NTF-ATW-EVENT

New atw-script control for use with AcuToWeb
ECN-4662 New atw-script control for use with AcuToWeb (microfocus.com)

	EVALUATE EVENT-TYPE
           WHEN NTF-ATW-EVENT
             EVALUATE event-data-1
               WHEN 1
                     modify js1 CALL("googleMaps")

NTF-ATW-EVENT is obviously a level 88 variable. What is its value?

#NTF-ATW-EVENT

Good afternoon, Riaan Pretorius

NTF-ATW-EVENT is defined in the 10.4.x new version of acugui.def, as the following:

78  NTF-ATW-EVENT                       VALUE 4110.


New atw-script control for use with AcuToWeb
ECN-4662 New atw-script control for use with AcuToWeb (microfocus.com)

	EVALUATE EVENT-TYPE
           WHEN NTF-ATW-EVENT
             EVALUATE event-data-1
               WHEN 1
                     modify js1 CALL("googleMaps")

NTF-ATW-EVENT is obviously a level 88 variable. What is its value?

#NTF-ATW-EVENT

thank you. but now next question. where should that evaluate statement be? After Accept screen? Last action was an ATW script for uploading files. At the moment it is after the accept statement, but the value for EVENT-TYPE is 4. 


thank you. but now next question. where should that evaluate statement be? After Accept screen? Last action was an ATW script for uploading files. At the moment it is after the accept statement, but the value for EVENT-TYPE is 4. 

The sample that I have uses this code:

      * Screen1
       Acu-Screen1-Evaluate-Func.
           EVALUATE TRUE
              WHEN Exit-Pushed
                 PERFORM Acu-Screen1-Exit
              WHEN Event-Occurred
                 IF Event-Type = Cmd-Close
                    PERFORM Acu-Screen1-Exit
                 END-IF
                 IF Event-Type = NTF-ATW-EVENT
                    PERFORM atwScript-event
                 END-IF
              WHEN Key-Status = ....
              ...
           END-EVALUATE


The sample that I have uses this code:

      * Screen1
       Acu-Screen1-Evaluate-Func.
           EVALUATE TRUE
              WHEN Exit-Pushed
                 PERFORM Acu-Screen1-Exit
              WHEN Event-Occurred
                 IF Event-Type = Cmd-Close
                    PERFORM Acu-Screen1-Exit
                 END-IF
                 IF Event-Type = NTF-ATW-EVENT
                    PERFORM atwScript-event
                 END-IF
              WHEN Key-Status = ....
              ...
           END-EVALUATE

Thank you
Would it be possible to forward the complete sample? Or the compiled listing for the sample. 


Thank you
Would it be possible to forward the complete sample? Or the compiled listing for the sample. 

Please, find the listing here.

If you still have troubles, of further questions, I suggest you to create a new Case on the Support portal.


Please, find the listing here.

If you still have troubles, of further questions, I suggest you to create a new Case on the Support portal.

Would it be possible to supply the source code as well?