Class ActionSettings (PowerPoint VBA)
A collection that contains the two ActionSetting objects for a shape or text range. One ActionSetting object represents how the specified object reacts when the user clicks it during a slide show, and the other ActionSetting object represents how the specified object reacts when the user moves the mouse pointer over it during a slide show.
To use a ActionSettings class variable it first needs to be instantiated, for example
Dim ass as ActionSettings
Set ass = ActiveWindow.RangeFromPoint.ActionSettings
The following procedures can be used to set variables of type ActionSettings: Shape.ActionSettings, ShapeRange.ActionSettings and TextRange.ActionSettings.
Count
Returns the number of objects in the specified collection.
Dim lngCount As Long
lngCount = ActiveWindow.RangeFromPoint.ActionSettings.Count
Item
Returns a single action setting from the specified ActionSettings collection.
The Index parameter value can be one of these PpMouseActivation constants.
Item (Index)
Index: The action setting for a MouseClick or MouseOver event.
Dim asg As ActionSetting
Set asg = ActiveWindow.RangeFromPoint.ActionSettings(Index:=1)