编译错误:错误的参数号或者无效的属性赋值,,怎么办
来源:百度知道 编辑:UC知道 时间:2024/05/22 13:02:45
我的程序
Option Explicit
Private Sub Form_Load()
Dim I As Integer, L As Integer
Label1.Caption = "一套好人"
Label1.Left = 650
Label1.Height = 495
Label1.Top = 750
Label1.Width = 4000
L = 650
For I = 1 To 5
Label2(I).Left = L
Label2(I).Top = 1620
Label2(I) = I
L = L + 800
Next I
End Sub
Private Sub Label3_Click()
End Sub
老出现这个 “编译错误:错误的参数号或者无效的属性赋值”怎么办
望专家帮下忙啊!
Option Explicit
Private Sub Form_Load()
Dim I As Integer, L As Integer
Label1.Caption = "一套好人"
Label1.Left = 650
Label1.Height = 495
Label1.Top = 750
Label1.Width = 4000
L = 650
For I = 1 To 5
Label2(I).Left = L
Label2(I).Top = 1620
Label2(I) = I
L = L + 800
Next I
End Sub
Private Sub Label3_Click()
End Sub
老出现这个 “编译错误:错误的参数号或者无效的属性赋值”怎么办
望专家帮下忙啊!
Option Explicit
Private Sub Form_Load()
Dim I,L As Integer
Label1.Caption = "一套好人"
Label1.Left = 650
Label1.Height = 495
Label1.Top = 750
Label1.Width = 4000
L = 650
For I = 1 To 5
Label2(I).Left = L
Label2(I).Top = 1620
Label2(I) = I
L = L + 800
Next I
End Sub