|
-
Dec 5th, 2003, 06:40 PM
#1
Thread Starter
Member
Pause in a VB.NET code
Is there any method to simulate a pause in VB.NET ?
Or i have to use an empty For...Next ?
...because i think Timer is just for Forms, right ?
and what i want is to make a temporary pause in this code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim F As Decimal
For F = 0.00 To 1.00 Step 0.01
Me.Opacity = F
Me.Show()
' A pause here, to produce a more slower fade effect
Next F
End Sub
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
|