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

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




Label Manipulation

 
Reply to this topicStart new topic

Label Manipulation

netpumber
28 Dec, 2006 - 12:26 PM
Post #1

New D.I.C Head
*

Joined: 27 Oct, 2006
Posts: 16


My Contributions
Does any one know how can i create a label that appears and disappears while the prog works..



Thanx!








User is offlineProfile CardPM
+Quote Post

the_hangman
RE: Label Manipulation
28 Dec, 2006 - 01:24 PM
Post #2

D.I.C Addict
Group Icon

Joined: 18 Jan, 2006
Posts: 593



Thanked: 1 times
Dream Kudos: 200
My Contributions
What version of Visual Basic are you using?


you may want to look into the "Visible" property
User is offlineProfile CardPM
+Quote Post

Mach1Guy
RE: Label Manipulation
28 Dec, 2006 - 03:29 PM
Post #3

D.I.C Head
Group Icon

Joined: 4 Dec, 2006
Posts: 79



Thanked: 4 times
Dream Kudos: 25
My Contributions
exactly what hangman said.

CODE

label1.Visible = True
label2.Visible = False

User is offlineProfile CardPM
+Quote Post

m2s87
RE: Label Manipulation
29 Dec, 2006 - 03:25 AM
Post #4

D.I.C Regular
Group Icon

Joined: 28 Nov, 2006
Posts: 390



Thanked: 1 times
Dream Kudos: 1225
My Contributions
If you wanted to make it blinking, then add a lable and timer to the form with this code:
CODE
Private Sub Timer1_Timer()
    If Label1.Visible = True Then Label1.Visible = False Else Label1.Visible = True
End Sub
Private Sub Form_Load()
    Label1.Caption = "NO"
    Timer1.Interval = 120
    Timer1.Enabled = True
End Sub


Hope it helps biggrin.gif
User is offlineProfile CardPM
+Quote Post

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

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