.TextBox.Selection.Text (gb.qt4)

Property Text As String

Returns the selected text, or NULL if no text is selected.