|
-
May 1st, 2000, 04:49 AM
#1
Thread Starter
Hyperactive Member
The following code is on a form, and isn't doing what I want it to do.
Private Sub Timer1_Timer()
If Timer1.Enabled = True Then
cmdStart.Visible = False
Else
cmdStart.Visible = True
End If
End Sub
The command button is visible when the form loads, contrary to my desire. I want the form, which is a splash screen to load, then after about 12 seconds, the cmdStart command button appears. Allowing the user to start the actual program. By the way, the timer interval is set to 12,000. I think that is equal to 12 seconds
Thanks,
Sal
-
May 1st, 2000, 04:54 AM
#2
Addicted Member
well..
set the VISIBLE property of the command button to false in the IDE.. or.. in the form_load sub set cmd.visible = false, then all you gott do is set it back to true in your timer.
hope that helps,
Thai
-
May 1st, 2000, 04:57 AM
#3
Thread Starter
Hyperactive Member
Figured that out, probably just as you were typing the solution. :-O
Thanks
-
May 1st, 2000, 04:59 AM
#4
Fanatic Member
Replace all of this:
Code:
Private Sub Timer1_Timer()
If Timer1.Enabled = True Then
cmdStart.Visible = False
Else
cmdStart.Visible = True
End If
End Sub
With:
cmdStart.visible = not cmdStart.visible
Chemically Formulated As:
Dr. Nitro
-
May 1st, 2000, 05:01 AM
#5
Thread Starter
Hyperactive Member
Icons for Developers - Where are they? (Free)
Where can you get a good source of icons, preferably free? I need a door and some other stuff.
Sal
-
May 1st, 2000, 06:29 AM
#6
Frenzied Member
Therer's loads of Icon's come with windows, Just look around your Hard drive.
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
|