User Profile
Collapse
-
Ok, the problem is that I was saving my text as HTML. I changed it to save as XML, now I can read it in as Rich Text. -
Help with RichTextCtrl.Refresh() and self.Layout()
Hello,
I have a RichTextCtrl on my panel that I am trying to show some rich text in. I have read in the rich text in HTML format. I am using a MVC format so my view (RichTextCtrl) is in separate code from my controller. In my controller I am trying:
...Code:out = StringIO() handler = rt.RichTextXMLHandler() buffer = self.view.rtEditor.GetBuffer() buffer.AddHandler(handler) out.wirte(content) out.seek(0)
Last edited by Rabbit; Apr 28 '14, 03:45 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
No activity results to display
Show More
Leave a comment: