tyonuts
Well-known member
Ok, I know this isn't the place to post this, but it's a graphics problem, so...
I tried to use the following code to fade a form, after setting it's opacity to 0:
Dim i as double=0.0
For i=0 To 1 Step 0.01
Me.Opacity=Me.Opacity+i
Threading.Thread.Sleep(10)
Next i
And all I get is a black rectangle, after which the form is painted in full (without translucency). I could use a timer, but that's the problem: the timer depends on the processor. pls help
I tried to use the following code to fade a form, after setting it's opacity to 0:
Dim i as double=0.0
For i=0 To 1 Step 0.01
Me.Opacity=Me.Opacity+i
Threading.Thread.Sleep(10)
Next i
And all I get is a black rectangle, after which the form is painted in full (without translucency). I could use a timer, but that's the problem: the timer depends on the processor. pls help