Hi All
I have done the below code to turn on and off elements depending on a selection from a multi menu. Basically one of the patterns I have the first element of the pattern switched off always but the other elements need to flick on and off.
Is there a way that you can turn individual elements on and off?
If Posts_On_FL1 = "Yes" Then
Component.Visible("Component Pattern 7:1") = True
Component.Visible("GP1:1") = False
Component.Visible("Component Pattern 13:1") = True
Component.Visible("GP2:1") = True
Else
Component.Visible("Component Pattern 7:1") = False
Component.Visible("GP1:1") = True
Component.Visible("Component Pattern 13:1") = False
Component.Visible("GP2:1") = False
End If
Let me know as soon as posisble please, thanks in advance!!
Jon
This link is to a thread that conains code to suppress elements of the pattern. Since you're already familiar with the IsVisible method, you shouldn't have a problem converting the code. Note that while you cannot suppress the first element of a pattern, I don't think you'll have a problem toggling its visibility.