natashaXXX
Programmer
I am creating a text editor using mdi form with menu, and child forms.
For SaveAs I am using the commondialog.showsave. I also want a save option which will recognise the active form. The file name is in the child forms caption, eg L:\test.txt, and I want to save immediately without going to the dialog box.
How can this be done? I've tried just moving the caption into commondialog.filename but without actually using the commondialog.showsave in the code for Save it won't work.
Many thanks
For SaveAs I am using the commondialog.showsave. I also want a save option which will recognise the active form. The file name is in the child forms caption, eg L:\test.txt, and I want to save immediately without going to the dialog box.
How can this be done? I've tried just moving the caption into commondialog.filename but without actually using the commondialog.showsave in the code for Save it won't work.
Many thanks