Partager via


Shape.ActionSettings Property (PowerPoint)

Returns an ActionSettings object that contains information about what action occurs when the user clicks or moves the mouse over the specified shape or text range during a slide show. Read-only.

Syntax

expression .ActionSettings

expression A variable that represents a Shape object.

Return Value

ActionSettings

Example

The following example sets the actions for clicking and moving the mouse over shape one on slide two in the active presentation.

Set myShape = ActivePresentation.Slides(2).Shapes(1)

myShape.ActionSettings(ppMouseClick).Action = ppActionLastSlide

myShape.ActionSettings(ppMouseOver).SoundEffect.Name = "applause"

See Also

Concepts

Shape Object Members

Shape Object