Dim WithEvents TextBox1 As TextBoxPrivate Sub Command1_Click()
Set TextBox1 = Form1.Controls.Add("VB.textbox", "Textbox1")
'Form1.Controls.Add "VB.textbox", "Textbox1"
With Form1!TextBox1
.Visible = True
.Width = 2000
.Text = ""
End With
End Sub
Set TextBox1 = Form1.Controls.Add("VB.textbox", "Textbox1")
'Form1.Controls.Add "VB.textbox", "Textbox1"
With Form1!TextBox1
.Visible = True
.Width = 2000
.Text = ""
End With
End Sub
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货