' Dim tbtnList As List
' tbtnList.Initialize
'' tbtnList.AddAll(Array As ToggleButton (tbtn_EnOceanTopLeft,tbtn_EnOceanTopRight,tbtn_EnOceanBottomLeft,tbtn_EnOceanBottomRight))
' tbtnList.Add(tbtn_EnOceanTopLeft)
' tbtnList.Add(tbtn_EnOceanTopRight)
' tbtnList.Add(tbtn_EnOceanBottomLeft)
' tbtnList.Add(tbtn_EnOceanBottomRight)
' For Each tbtn As ToggleButton In tbtnList
' Log(tbtn.Enabled)
' Next
'This works!
Dim arrToggleButtons(4) As ToggleButton
arrToggleButtons(0) = tbtn_EnOceanTopLeft
arrToggleButtons(1) = tbtn_EnOceanTopRight
arrToggleButtons(2) = tbtn_EnOceanBottomLeft
arrToggleButtons(3) = tbtn_EnOceanBottomRight
For Each tbtn As ToggleButton In arrToggleButtons
Log(tbtn.Enabled)
Next