Specifies the text formatting for selected text in a RichTextEdit control. You can make the text bold, underlined, italic, and struck out. You can also make it either a subscript or superscript.
RichTextEdit controls
rtename.SetTextStyle ( bold, underline, subscript, superscript, italic, strikeout )
Integer. Returns 1 if it succeeds and -1 if an error occurs.