VB中不能给只读属性赋值问题
为会么会出现这样的问题?各位高手帮我看一下:DimiAsLongDimStrAsStringIfCheck1(0).ValueThen'选择凯撒加解密PrintCaesa...
为会么会出现这样的问题?各位高手帮我看一下:
Dim i As Long
Dim Str As String
If Check1(0).Value Then '选择凯撒加解密
Print Caesarjia()
For i = LBound(b) To UBound(b)
Str = Str & "b(" & i & " )= " & b(i) & Chr(13) '把所得的密文放入text2中
Next i
Text2.MultiLine = True
Text2.Text = Str
Print Caesarjie()
For i = LBound(a) To UBound(a)
Str = Str & "a(" & i & " )= " & a(i) & Chr(13) '把所得的明文放入text3中
Next i
Text3.MultiLine = True
Text3.Text = Str
End If
dim a(100) as string
dim b(100) as string
text2.MultiLine=true 这里有问题 展开
Dim i As Long
Dim Str As String
If Check1(0).Value Then '选择凯撒加解密
Print Caesarjia()
For i = LBound(b) To UBound(b)
Str = Str & "b(" & i & " )= " & b(i) & Chr(13) '把所得的密文放入text2中
Next i
Text2.MultiLine = True
Text2.Text = Str
Print Caesarjie()
For i = LBound(a) To UBound(a)
Str = Str & "a(" & i & " )= " & a(i) & Chr(13) '把所得的明文放入text3中
Next i
Text3.MultiLine = True
Text3.Text = Str
End If
dim a(100) as string
dim b(100) as string
text2.MultiLine=true 这里有问题 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询