Cancel a zoom from a button using the Invoke command

Operators can cancel a zoom at runtime by right-clicking on the control and then selecting
Undo Zoom/Pan
. However, you can also provide a button on the
FactoryTalk View
SE display that can cancel a zoom.
If you are setting up only one or two buttons on your display, you can use the invoke command option.
To cancel a zoom from a button using the Invoke command:
  1. Add a button to a graphic display, and then click the
    Action
    tab.
  2. Click the browse button next to the
    Release Action
    box.
  3. In the right pane of the Command Wizard, click
    Invoke
    , and then click
    Next
    .
  4. From the
    Display
    list, select the name of the graphic display where the trend is.
  5. In the
    Object
    box, type the name of the trend (the default name is
    Trend1
    ).
  6. In the
    Property or Method
    box, type
    CancelZoom
    .
  7. Click
    Invoke method in object
    .
  8. Click
    Finish
    .
  9. Click
    OK
    to close the
    Button Properties
    window.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal