.TextBox.Selection (gb.qt4)
This virtual class is used for managing a text selection.
This class is virtual.
This class is not creatable.
Properties
Length
|
Returns the length of the current selected text, or 0 if no text is selected.
|
Pos
|
A synonymous for the Start property.
|
Start
|
Returns the begining position of the selected text, or -1 if no text is selected.
|
Text
|
Returns the selected text, or NULL if no text is selected.
|
Methods
Hide
|
Hides the selection.
|