SlideShowWindow Property
Collapse the table of content
Expand the table of content

SlideShowWindow Property

Office 2003

Returns a SlideShowWindow object that represents the slide show window in which the specified presentation is running. Read-only.

Remarks

You can use this property in conjunction with the Me keyword and the Parent property to return the slide show window in which an ActiveX control event was fired, as shown in the example.

Example

The following example shows the Click event procedures for buttons named "cmdBack" and "cmdForward". If you add these buttons to the slide master and add these event procedures to them, all slides based on the master (and set to show master background graphics) will have these navigation buttons that will be active during a slide show. The Me keyword returns the Master object that represents the slide master that contains the control. If the control were on an individual slide, the Me keyword in an event procedure for that control would return a Slide object.

Private Sub cmdBack_Click()
    Me.Parent.SlideShowWindow.View.Previous
End Sub

Private Sub cmdForward_Click()
    Me.Parent.SlideShowWindow.View.Next
End Sub
		


Applies to | Presentation Object


Show:
© 2016 Microsoft