1个回答
2009-05-25
展开全部
Private Sub Command1_Click()
Label1.Top = Label1.Top - 50
Label2.Top = Label1.Top - 50
End Sub
Private Sub Command2_Click()
Label1.Top = Label1.Top + 50
Label2.Top = Label1.Top + 50
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Label1.BorderStyle = 1
Label2.BorderStyle = 1
Command1.Caption = "上移"
Command2.Caption = "下移"
Command3.Caption = "结束"
End Sub
Label1.Top = Label1.Top - 50
Label2.Top = Label1.Top - 50
End Sub
Private Sub Command2_Click()
Label1.Top = Label1.Top + 50
Label2.Top = Label1.Top + 50
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Label1.BorderStyle = 1
Label2.BorderStyle = 1
Command1.Caption = "上移"
Command2.Caption = "下移"
Command3.Caption = "结束"
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询