Unicode Controls & Classes for VB6 - Version 4

ctlUniTextCodeHighlight.SetContents Method

Sets the content of the control

Syntax
Public Sub SetContents (ByVal s As String, _
ByVal iFlags As eCtlRichTextBox_SetContents, _
ByVal bForSelection As Boolean)
Parameters
Parameter Description
ByVal s As String The new text
ByVal iFlags As eCtlRichTextBox_SetContents Flags
ByVal bForSelection As Boolean True for changing only the selection, False for the entire text
Remarks