r/visualbasic • • Jan 07 '20

How to make a button invisible?

6 Upvotes

6 comments sorted by

7

u/[deleted] Jan 07 '20

BtnName.visible=False

2

u/[deleted] Jan 07 '20

Yikes. Almost like he didn’t even refer to the documentation first.

1

u/andrewsmd87 Web Specialist Jan 08 '20

How to Google how to make button invisible?

1

u/[deleted] Jan 08 '20

That too. The Button class like most controls, have all the methods and functions you would ever need. Literally just had to look up the button class on MSDN.

2

u/KnaveOfIT VB.Net Intermediate Jan 07 '20

Depends on what you want.

Do you want from the start to be invisible?

Do you want an action to make it invisible?

Do you want it to be invisible until an action happens?

1

u/EkriirkE VB 6 Master Jan 07 '20

If you want a clickable area that transparent, use an empty Image control