Hi,
I am trying to slide, make the form bigger, with a button. but each time it freezes. can someone help me out?
This is one of the codes I tried.
Greetings J. Radjesh Klauke (Netherlands)
I am trying to slide, make the form bigger, with a button. but each time it freezes. can someone help me out?
This is one of the codes I tried.
Code:
Option Explicit
Private Sub Form_Load()
Timer1.Enabled = False
End Sub
Private Sub Command1_Click()
Timer1.Enabled = True
Timer1.Interval = 50
End Sub
Private Sub Timer1_Timer()
Dim i As Long
i = 100
Do Until Me.Height = 6000
Me.Height = i + i
Loop
End Sub
Greetings J. Radjesh Klauke (Netherlands)