This message was edited by zibadian at 2004-10-16 17:35:36
: : I'm sorry. I completely forgot that you need to type-cast the ActiveMDIChild. Here is the way to type-cast the ActiveMDIChild:
: : (ActiveMDIChild as TForm2).Memo1.Lines.SaveToFile('SomeFile.txt');
: : if the children are of the TForm2 type.
: I'm sorry to trouble you again....
: But I tried it too, and the result said that "Operator not applicableto this opperand type". What went wrong?
You must have made a mistake in your code, because I just tested the code and it worked perfectly. If you post your coded I can see what's wrong.