Re: rich edit object probs
It appears the RTF object does not remember the filename.
Use the Common Dialog object (not the built-in retrieve from selector) to open files for the RTF object, and store the retrieved filename in a string or something. When the user presses save, just store the RTF to that filename (Save RTF Text to -> retrieve from object string).
Re: rich edit object probs
Are clickteam going to fix this ?
Arma :)
Re: rich edit object probs
Quote:
Originally Posted by arma
Are clickteam going to fix this ?
Hmm. I suspect it's around item #7,936 in their "very urgent to-do list" so I wouldn't hold my breath :) The good folks at CT are obviously doing their very best.
But, yeah, it would be a neat addition to the RTF object to have it remember the name and path of the last loaded file. Shouldn't be too difficult to implement that feature either.
Re: rich edit object probs
I thought that was the whole point of the "save " option without the file selector, so you could just save the file you edited.
I hope they move it up the to do list a bit cos i am stuck for now and hoped to get away with using the the Rich Edit object with the need to get into long winded retrieve dats from object things :(
is there a tutorial about that shows the other way of doing it ?
What i need to do is basically click a open button to open a file, then have another button to click to allow to edit the file, then have another button to click to save the file that has now been edited back to its original file.
when you run the app again, clicking the open button will show the newly edited file that was save previously, if you know what i mean :)
Arma :)