Translate This Blog

English French German Spain Italian Dutch

Russian Portuguese Japanese Korean Arabic Chinese Simplified
by : NUROFIK

animasi form keluar

Jumat, 22 Oktober 2010



1.buat form baru dan dua buah command button
Code :
Private Sub tombol_Click(Index As Integer)
    Select Case Index
    Case 0
        Do Until Me.Top <= -5000
            Me.Move Me.Left, Me.Top - 10: DoEvents
        Loop
    Case 1
        Do Until Me.Top > 20000
            Me.Move Me.Left, Me.Top + 10: DoEvents
        Loop
    End Select
    End
End Sub



0 komentar:

Posting Komentar

Catatan: Hanya anggota dari blog ini yang dapat mengirim komentar.

 
 
 

Followers