如何给新建frmDocument1赋值
我的是一个多文档窗体 如何在新建一个文档窗体时 另人个子窗体的内容赋到刚新建的文档中(rtftext中)刚上路... --------------------编程问答-------------------- 不明所以 --------------------编程问答--------------------Private Sub mnuNewFile_Click()
Dim frmLast As frmDocument1
Dim frmNew As frmDocument1
Set frmLast = Me.ActiveForm
Set frmNew = New frmDocument1
If Not frmLast Is Nothing Then
frmNew.rtfText = frmLast.rtfText
End If
frmNew.Show
End Sub
补充:VB , 基础类