Please enable JavaScript to view this site.

ESL Documentation

The change graphics statement is the same as the change statement (described above), except that the change graphics statement does not delete, or affect in any way, any of the object's children. For example, if there is a region named PanelArea that displays some report options and you want to modify PanelArea but not delete its children (the report options), you should use the change graphics statement:

 

response to PanelArea

    change graphics PanelArea to # Reflects active mode

        move 10 10

        solid blue box 100 80

        move 10 10

        solid color 20 box 80 60

        ...

 

response to Reset

    change graphics PanelArea to # Reflects inactive mode

        move 10 10

        solid green box 100 80

        ...