Welcome to Dream.In.Code
Become a VB Expert!

Join 137,262 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,513 people online right now. Registration is fast and FREE... Join Now!




invisible/visible property on labels

 
Reply to this topicStart new topic

invisible/visible property on labels

ThePogues
9 Dec, 2006 - 05:41 PM
Post #1

New D.I.C Head
*

Joined: 9 Dec, 2006
Posts: 3


My Contributions
I'm making this program... and I don't want the labels to show until the command buttons are pressed.
I have 3 labels and 3 command buttons. When I press the first command button I want the 1st label to come up.. then the 2nd command button, 2nd label, 3rd command button, 3rd label.


If you could help can you message me because I'll probably not see it on here. Thanks. pirate.gif

edit: modified title ~ jayman9

This post has been edited by jayman9: 9 Dec, 2006 - 08:21 PM
User is offlineProfile CardPM
+Quote Post

ThePogues
RE: Invisible/visible Property On Labels
9 Dec, 2006 - 05:52 PM
Post #2

New D.I.C Head
*

Joined: 9 Dec, 2006
Posts: 3


My Contributions
Answer me goddamn it!!

anime2.gif
User is offlineProfile CardPM
+Quote Post

ThePogues
RE: Invisible/visible Property On Labels
9 Dec, 2006 - 05:55 PM
Post #3

New D.I.C Head
*

Joined: 9 Dec, 2006
Posts: 3


My Contributions
No... I'd rather you just help me with the matter in hand!!!

anime2.gif
User is offlineProfile CardPM
+Quote Post

Jayman
RE: Invisible/visible Property On Labels
9 Dec, 2006 - 08:20 PM
Post #4

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 6,985



Thanked: 44 times
Dream Kudos: 500
Expert In: C#, VB.NET, Java

My Contributions
Labels have a visible property which is set to true by default.

So to make a label not visible:
CODE

Me.Label1.Visible = False


And to set it back to visible:
CODE

Me.Label1.Visible = True

User is offlineProfile CardPM
+Quote Post

meatloaf
RE: Invisible/visible Property On Labels
5 Sep, 2007 - 05:22 PM
Post #5

New D.I.C Head
*

Joined: 5 Sep, 2007
Posts: 5


My Contributions
Yes - please answer!! I need this question answered too. Yes I understand the Visible True and False, but I want it so that the Label is invisible and when you press the button in the program, the label appears!!
User is offlineProfile CardPM
+Quote Post

strod
RE: Invisible/visible Property On Labels
6 Sep, 2007 - 02:53 AM
Post #6

New D.I.C Head
*

Joined: 5 Sep, 2007
Posts: 14


My Contributions
QUOTE(meatloaf @ 5 Sep, 2007 - 06:22 PM) *

Yes - please answer!! I need this question answered too. Yes I understand the Visible True and False, but I want it so that the Label is invisible and when you press the button in the program, the label appears!!


When the form is loaded 'Private SubForm_Load' set the label to .visible=false

When the command is clicked e.g. Private Sub Command1_Click()
set the labels .visible=true.


User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/4/08 07:09PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month