November 26th, 2012, 11:43 AM
[RESOLVED] Trying to show some rich text in a dialog box.
I have been told to show some text document when our application starts up, it is an EULA. They gave me a word file and I saved this file in a .rtf format. I then wish to show this in a dialog box and found this on code guru:
Which seems to be a sub-class that will do all the formatting for me. So I use that class and then load in the .rtf file, using their setRTF method I just get an empty text box.
I just want to be able to show this formatted, somewhat pretty text from this document in my application as close as I can to the original document. Is there an easy way to do that? I could turn it into plain text, but I think that my boss would not be happy about that.
Nevermind, stupid error on my part. it is fixed. I can't figure out how to delete this post.
The problem was that I needed the text box to be marked multi-line.
Last edited by DeepT; November 26th, 2012 at 12:58 PM.
Click Here to Expand Forum to Full Width