Animating an Object to Trigger a ViewX Command

You can animate an object so that when it is selected, it causes a ViewX command to be executed. Common uses for this type of animation include configuring a Mimic object to activate zooming in or out, trigger printing, or access the Change Password dialog box.

When animating an object to trigger a ViewX command, you need to set the PickType to 14 (for ViewX command). You also need to define the ViewX command in the PickParam expression, using the syntax:

WM_COMMAND( <ViewX Command>)

Where <ViewX Command> is one of the following (do not include the angle brackets):

Example:

A Mimic object that is configured to act as a Back button (display the previously viewed document), uses the animations:

  • PickType—14
  • PickParam—WM_COMMAND(Back)

Disclaimer

ClearSCADA 2017 R2