Rodger Posted January 6, 2014 Share Posted January 6, 2014 (edited) Hello, If have the following code: _GUICtrlRichEdit_StreamFromVar($hTab_RemarkEditBox, $Tab_Remark) ConsoleWrite("1:" & $Tab_Remark & @CRLF) $s = _GUICtrlRichEdit_StreamToVar($hTab_RemarkEditBox) ConsoleWrite("2:" & $s & @CRLF) De first "ConsoleWrite" gives back the following: 1:{rtf1ansiansicpg1252deff0deflang1043{fonttbl{f0fnilfcharset0 MS Shell Dlg;}} {*generator Msftedit 5.41.21.2510;}viewkind4uc1pardf0fs17par } De second "ConsoleWrite" gives back the following: 2:{rtf1ansiansicpg1252deff0deflang1043{fonttbl{f0fnilfcharset0 MS Shell Dlg;}} {*generator Msftedit 5.41.21.2510;}viewkind4uc1pardf0fs17par pardfs17par } Is there a reason why the extra "pardfs17par" is added in the second "ConsoleWrite" without making any changes in the EditBox and how can this be avoided? Thanks. Edited January 6, 2014 by Rodger Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now