I have searched all over the internet for a solution to my problem, but I can't find it. How would I go about saving to a file? I managed to get it to carry out a Save As function with this code:
if SaveDialog1.Execute then
Memo1.Lines.SaveToFile(SaveDialog1.FileName);
I want it to carry out a Save function, so that if an existing file is already open, the user can save to that file, without having a specify a name in the Save As Dialog.
> As for why the studio went with the 4v4 Tag Team battle solution, the team said that the team-up nature of superheroes was the inspiration for that
Ah yes, it's definitely not because Capcom has always done Marvel fighting games as Tag Team battle.
Question
smctainsh
Hi All,
I have searched all over the internet for a solution to my problem, but I can't find it. How would I go about saving to a file? I managed to get it to carry out a Save As function with this code:
I want it to carry out a Save function, so that if an existing file is already open, the user can save to that file, without having a specify a name in the Save As Dialog.
Thanks in advance,
Smctainsh
Link to comment
https://www.neowin.net/forum/topic/453443-delphi-save-to-file/Share on other sites
11 answers to this question
Recommended Posts