如题

解决方案 »

  1.   

    比如有一个index为3的文本控件Text1
    则:
    Unload Text1(3)首先你得知道它的index属性,然后就跟卸载窗体一样了。
      

  2.   

    '先在窗体上加一个text1(0)
    Private Sub Command1_Click()
    Unload Text1(1)
    End SubPrivate Sub Form_Load()
        Load Text1(1)
        Text1(1).Visible = True
        Text1(1).Left = 20
        Text1(1).Top = 200
    End Sub
      

  3.   

    Unload Control(control.Ubound) '清除控件数组的最后一个控件,你也可以自己指定索引.
      

  4.   

    Unload Text1(3)
    卸载后不能引用了。