|
-
Aug 31st, 2001, 10:45 AM
#1
Thread Starter
Addicted Member
porobably a silly question
i have just tried adding a Progress bar to my project everythings ok but i need help on hiding it
i tried this
Private Sub pro_Click()
If pro.Caption = "Hide Progress Bar" Then GoTo 1 Else
If pro.Caption = "Show Progress Bar" Then GoTo 2
1: ProgressBar1.Visible = False
pro.Caption = "Show Progress Bar"
2: ProgressBar1.Visible = True
pro.Caption = "Hide Progress Bar"
End Sub
i think it needs some kind of end in between 1 and 2 because it does both, can someone help me out?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|