Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21246

Member or data member not found

$
0
0
Hi,

I am using Visual Basic 6 and am having problems hiding a set of buttons. I have 44 buttons in my form6 that need to be hidden when the form is initially loaded.

I can't attach the code I am using because I am not on the same computer, however I can remember what I did.

Private Sub Form_Load()

cmd1swap1.visible = false
cmd1swap2.visible = false
cmd2swap1.visible = false
Etc...

End Sub

I have checked and rechecked that the buttons actually exist with those names, however I still cannot get it to work. I get the error "Member or data member not found" and the .visible is highlighted in the debug.

Anyone have a solution?

Thanks in advance.

Viewing all articles
Browse latest Browse all 21246

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>