View Single Post
Join Date: Nov 2008
Posts: 3
Reputation: alvinru is an unknown quantity at this point 
Solved Threads: 1
alvinru alvinru is offline Offline
Newbie Poster

Re: wxWidgets - RichTextCtrl - Is ther one?

 
0
  #8
Nov 9th, 2008
Originally Posted by MaxVK View Post
Not 'fly code', I mean on the fly, as in added to the control at startup using code (as opposed to loading a file).
Max
Max, you *can* load and save RTF files using wxRichTextCtrl, but they will be stored as XML files. Just fire up the wxPython demo, go to the wxRichTextCtrl specific demo, launch it, go to the File menu, select Save As, then select "XML files" for File type and save the document.

Now you can load it back in by going to the File menu and selecting the Open command. In the Open dialog select "XML files" for File type so you can find the saved document.

This must be working on all the platforms supported by wxPython.

Alexei
Reply With Quote