I will not give you a working code but hints:
You should read about the difference between ByVal and ByRef
In your code "Private FormItems As New Form1"
you are creating a new Instance of Form1, so you are changing the Visible properties of a new instance of Form1.
In your function...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.