I was working on something for Chopper1's post, but it was pretty much junk. My question is, how can I do this without a timer control. I couldn't figure how to code the GetTickCount and make it work. Seemed to be going into an infinite loop, and not even showing the form.
If you can answer this, could you show me with this code.Code:Private Sub Timer1_Timer() ' interval set to 10 Dim i As Integer For i = 0 To Shape1.Count - 1 ' I have four squares, If Shape1(i).Left > 50 Then ' each a little bigger Shape1(i).Top = Shape1(i).Top - 20 ' than the one inside Shape1(i).Height = Shape1(i).Height + 40 Shape1(i).Width = Shape1(i).Width + 40 Shape1(i).Left = Shape1(i).Left - 20 Else Shape1(i).Left = 1800 'innermost square is of these dimensions Shape1(i).Top = 1680 Shape1(i).Height = 1935 Shape1(i).Width = 2175 End If Next i End Sub




Reply With Quote