|
-
Oct 19th, 2000, 11:53 AM
#1
Thread Starter
Lively Member
Hay, guys i am back with new problem. On my form i am having two Option buttons, 2 Command buttons, 1 Label. Option1 says '2 Minutes' and Option2 says '5 Minutes' and Command1 says 'Start' when user choose option1 and click on Command1 after 2 minutes has done it will show Label1. I don't know how to do this because i am begainer, if any one help me, it'll be help full. Thank you.
-
Oct 19th, 2000, 11:59 AM
#2
Hyperactive Member
You need to add a timer to your control then set the label's visible property to true.
-
Oct 19th, 2000, 12:01 PM
#3
Frenzied Member
There's a lot of way , but here's one with an api.
Code:
Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub Command1_Click()
Sleep 120 000
End Sub
For one second it's 1000, so times 120 = 120 000
-
Oct 19th, 2000, 12:12 PM
#4
Thread Starter
Lively Member
i don't know How would i use with Timer control.if any one will help me that'll be great.
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
|