Report.SelectionText

Returns/sets the selected text within the report.

Syntax Parameters Return/assignment value
- - String

SVB Example

Getting the selected text from a report:

Option Base 1
Option Explicit
Sub Main
    Dim rpt As New Report
    rpt.SelectionText = "The fox jumps over the lazy dog"
    rpt.SetSelection(2,10)
    Dim StartText As PortInt
    Dim EndText As PortInt
    'StartText and EndText will be 2 and 10, respectively
    rpt.GetSelection(StartText, EndText)
    rpt.Visible = True
End Sub