Prevent Word from truncating underlined spaced text
Posted on 2006-07-14
I have an app where I create an rtf file and then display it in the richtextbox control. Part of the wording is underlined with a trailing space. The code for the file looks something like this:
" blah blah blah " & space$(15) & " \ulnone\par"
If this file is printed from wordpad, then the underlining continues through the 15 spaces; however, if someone opens this in Microsoft Word, the underlining only goes through the last "blah". What can I do to make the underlining stay the same if someone opens this file in Word?