The index of a pane's currently displayed image frame.

Usage

Set_Property(OLECtrlEntID, "OLE.PaneFrame[index]", Value)

Values

Value can be any positive or negative whole number:

Default: 1

Indices

IndexDescription
indexIndex to an existing pane

Remarks

The PaneFrame property represents the index of the currently visible frame. Frames are created by first setting the PaneImage property, then setting the PaneFrameCount property. By default, frame 1 is shown, but you can use this property to change images programmatically by just setting this property to another valid frame index. If you set this property to an invalid index (less than one or greater than the number of frames set by the PaneFrameCount property), then the property is set back to the first frame.

This property can be used in conjuction with a TIMER event to create animation. However, the panes support sequential animation via their PaneEffect and PaneAnimationDelay properties.

If the PaneEffect property is set to "Animate", then this property is automatically updated every time the pane's frame changes.

See Also

PaneImagePaneFrameCount

  • No labels