Private Sub Form_Click()
Do While (cara.Top + cara.Height) < Form1.ScaleHeight
cara.Top = cara.Top + 1
Loop
Do While (cara.Left + cara.Width) <= Form1.ScaleWidth
cara.Top = cara.Top - 1
cara.Left = cara.Left + 2
Loop
Do While (cara.Top + cara.Height) < Form1.ScaleHeight
cara.Top = cara.Top + 1
Loop
Do While (cara.Left + cara.Width) <= Form1.ScaleWidth
cara.Top = cara.Top - 1
cara.Left = cara.Left + 2
Loop
MsgBox (" llego al final")
cara.Top = 0
cara.Left = 0
End Sub
miércoles, 12 de noviembre de 2008
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario