codice:
private declare sub Sleep lib "kernel32.dll" (byval dwmillisecond as long)
Private Sub Command1_Click()
dim imsec as integer
altf = Form1.Height
For i = altf To 5000
Form1.Height = i
sleep imsec
imsec = imsec + 1
doevents
Next
End Sub