TiEditCustom.SelLength
TiEditCustom
Specifies the number of characters (bytes) that are selected.
property SelLength: Integer
Description
Read SelLength to determine the length, in bytes, of the selected text. This
is the same as the number of characters, unless you are using a multi-byte
character set. Set SelLength to change the selection to consist of the first
SelLength bytes starting at SelStart.
Note:Setting SelLength to a value greater than the number of characters from SelStart to the end of the text results in the selection of all characters from SelStart to the end of the text. Reading SelLength immediately after setting it to a
value greater than the number of available characters returns the number of
characters actually selected, not the value that was just set.
Example
Delphi
Value := iComponent.SelLength;
C++ Builder
Value = iComponent->SelLength;
Contents | Index | Previous | Next