I have a lot of labels (label1) and I made them all a label control array I also have shapes which I also made into a control array, I made sure that there is the same of both. my goal is to make it so that is label1(1).visible = false, then shape1(1).visible = false. but I dont want to write it out for every single label and shape so I tried this code and it did not work, whats wrong with is:
if the code is just stupid can someone please give me the correctCode:if label1(index as Integer).Visible = False then shape1(index as Integer).Visible = False End If




Reply With Quote