Description

This boolean property enables tracking of the currently active frame within the attached image.

Property type

A Boolean value.  

Syntax

object.TrackActiveFrame [= value]

The TrackActiveFrame Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McView.
valueA Boolean value.

Remarks

When enabled, the viewer will monitor the McImage.ActiveFrameIndex property of the attached ImageToDisplay. When that property changes, the viewer will update the FrameToDisplay property and display the new frame.

Note that an assignment to ActiveImage.ActiveFrameIndex will always set the ActiveWindow.View.FrameToDisplay (but not that of any other McWindow's showing the ActiveImage unless the TrackActiveFrame property is True).

When TrackActiveFrame is True, and an assignment to ImageToDisplay.ActiveFrameIndex causes the FrameToDisplay to change, then SequencePause is called to stop any sequence playback. The effect of this is to cause background McView instances that have TrackActiveFrame set True to follow the sequence play of the ActiveWindow.View.