A
Adda
If I cycle through the MdiChildActivate event of the
parent form I can read text in a textbox on the child
mdiform --
console.writeline(Me.ActiveMdiChild.Controls(1).Text)
But if I have a sub in the Parent form and reference a
child mdi form like this:
Sub ReadText()
Dim frm As New Form2
console.writeline(frm.txt1.text)
End Sub
--I can't read the text in the textbox of the child form.
How could I read the text in a textbox of a child mdi form
from a sub in the parent form?
TIA
Adda
parent form I can read text in a textbox on the child
mdiform --
console.writeline(Me.ActiveMdiChild.Controls(1).Text)
But if I have a sub in the Parent form and reference a
child mdi form like this:
Sub ReadText()
Dim frm As New Form2
console.writeline(frm.txt1.text)
End Sub
--I can't read the text in the textbox of the child form.
How could I read the text in a textbox of a child mdi form
from a sub in the parent form?
TIA
Adda