Try this:
vb Code:
Array.ForEach(Me.Controls.OfType(Of Label).ToArray, Sub(lbl) lbl.Visible = If(lbl.Visible, False, True))
EDIT: Looks as though I was not fast enough either for this reply, but .NET version is what determines the availability of LINQ @OP.




< Please
if this helped you out. Any kind of thanks is gladly appreciated > 
Reply With Quote
