Description
Fired in response to user text selection actions.
Arguments
|
Name |
Type |
I/O |
Description |
|
State |
Short Integer |
In |
The state of text selection. Value are: 0 – NoSelection 1 – SelectionInProgress 2 – SelectionPresent |
|
StartOffset |
Long Integer |
In |
The offset of the first selected character in the pure text buffer.
|
|
Length |
Long Integer |
In |
The number of characters selected.
|
Remarks
This event is fired when the status or extent of text selection is changed.
The arguments correspond to the SelectionState SelectionStartOffset and SelectionLength properties.
When the SelectionInProgress state is in effect, the Length argument may be zero when no characters are actually selected.