Gambas Documentation - /comp/gb.qt4/.textbox.selection

/comp/gb.qt4/.textbox.selection

# .TextBox.Selection (gb.qt4)

This virtual class is used for managing a text selection.

This class is virtual.
This class is not creatable.

Properties | Methods
--- | ---
Returns the length of the current selected text, or 0 if no text is selected. Length A synonymous for the Start property. Pos Returns the begining position of the selected text, or `-1` if no text is selected. Start Returns the selected text, or NULL if no text is selected. Text | Hides the selection. Hide