Unicode Controls & Classes for VB6 - Version 4

ctlUniTextCodeHighlight.SetSelection Method

Sets the current selection by specifying indexes

Syntax
Public Sub SetSelection (ByVal lStart As Long, _
ByVal lEnd As Long, _
ByVal bScrollCaret As Boolean)
Parameters
Parameter Description
ByVal lStart As Long The start index
ByVal lEnd As Long The end index
ByVal bScrollCaret As Boolean True for scrolling the caret into view, False otherwise
Remarks