Z
zacks
Forgive me if this has been already asked an answered, I did do a
search both here and in VS2005 Help, but I can't find the answer to my
question.
I am developing an MDI application that is a speciality XML file
editor, used to create and edit a special XML file. It is an MDI app
since I want users to be able to have multiple XML files open at the
same time.
The parent form has the usual Menu bar with a File menu that has the
typical New, Open, Save, Save As type of menu items. The New and Open
items work fine, opening a new child window and feeding it the XML
filename to process. The child form has a Save command button on it's
tool bar that I use to save the XML file being editing in the current
child window.
What I would like to do is implement the parent window's File Save
functions, but I can't figure out how to tell the child window to
perform it's save method from the parent. I can find the active child
window and I can send data to it but for the life of me I can't figure
out how to invoke a method in the child form's class.
Any help would be appreciated.
search both here and in VS2005 Help, but I can't find the answer to my
question.
I am developing an MDI application that is a speciality XML file
editor, used to create and edit a special XML file. It is an MDI app
since I want users to be able to have multiple XML files open at the
same time.
The parent form has the usual Menu bar with a File menu that has the
typical New, Open, Save, Save As type of menu items. The New and Open
items work fine, opening a new child window and feeding it the XML
filename to process. The child form has a Save command button on it's
tool bar that I use to save the XML file being editing in the current
child window.
What I would like to do is implement the parent window's File Save
functions, but I can't figure out how to tell the child window to
perform it's save method from the parent. I can find the active child
window and I can send data to it but for the life of me I can't figure
out how to invoke a method in the child form's class.
Any help would be appreciated.