This article applies to:
Setting a SlideChoice sub-object's Visible property through script may not set the individual items visible property.
For example, a SlideChoice sub-object exists. The visible property is set to 'Yes' by default. During the time the Slide is displayed, the visible property is set to 'No' through script. Users will see the background become invisible, but the 3 individual items will still be present. Just setting the Visible property through the Properties window will work properly by showing or hiding all the SlideChoice items and the background.
However, this issue has been observed whenever the Visible property is manipulated in script. The script below will only hide the SlideChoice's background.
Utilize InLine script such as the following in order to set and declare local button variables. Therefore, the individual items of the SlideChoice sub-object can be manipulated to be visible or invisible.
Dim ButtonChoice As SlideChoice
Set ButtonChoice = CSlideChoice(Slide1.ActiveObjects("ButtonCH"))
ButtonChoice .Visible = False
Dim ItemChoice As SlideButton
Dim nCounter As Long
For nCounter = 1 To 4
Set ItemChoice = CSlideButton(Slide1.ActiveObjects("ButtonCHItem" & nCounter))
ItemChoice.Visible = False