请教 VB 中 很多command 的点击事件对应的过程都很相似,都是调用不同的控件的某些属性的,能用一个过程完
么?PrivateSubForm_Resize()Fora=1To13Step4Forad=1ToaForm1.Command(ad).Top=Form1.P1.Heig...
么?
Private Sub Form_Resize()
For a = 1 To 13 Step 4
For ad = 1 To a
Form1.Command(ad).Top = Form1.P1.Height + 360
Next
Next
End Sub问题补充:
Dim a As Integer
Dim ad As Integer 展开
Private Sub Form_Resize()
For a = 1 To 13 Step 4
For ad = 1 To a
Form1.Command(ad).Top = Form1.P1.Height + 360
Next
Next
End Sub问题补充:
Dim a As Integer
Dim ad As Integer 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询