这道VB题怎么做?
2个回答
展开全部
不用任何控件。程序如下:
Private Sub Form_Click()
Dim I As Integer
Dim J As Integer
Dim S1 As String , S2 As String
Dim St1 As String,St2 As String
S1="▼"
S2="▲"
For I = 1 To 5
St1=String(6-I,S1)
St2=String(I,S2)
Print Tab(I);St1;Spc(3);St2
Next I
End Sub
有什么问题请留言。
Private Sub Form_Click()
Dim I As Integer
Dim J As Integer
Dim S1 As String , S2 As String
Dim St1 As String,St2 As String
S1="▼"
S2="▲"
For I = 1 To 5
St1=String(6-I,S1)
St2=String(I,S2)
Print Tab(I);St1;Spc(3);St2
Next I
End Sub
有什么问题请留言。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询