New topic: Saving styled text
<http://forums.realsoftware.com/viewtopic.php?t=45122> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message f_hendriksen Post subject: Saving styled textPosted: Sun Aug 26, 2012 7:04 am Joined: Fri Sep 18, 2009 8:09 am Posts: 41 I'm trying to save some styled text from a textarea with the following code: Dim f as FolderItem=GetSaveFolderItem(FileTypes1.RtfType,"Untitled.rtf") If f <> nil then Dim s as TextOutputStream=TextOutputStream.Create(f) s.Write TextArea1.StyledText.RTFData s = nil End if When I open the file the text is there, but all the formatting is gone. I tried RB 2012 and 2011R4 Am I missing something? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
