Report.GetSelection
Returns the beginning and ending indices of the selected text within the report.
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
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.
