Edit Box - SelectionEnd Property

Position in the value that selection ends

Member of Edit Box (PRIM_EDIT)

Data Type - Integer

Details

The SelectionEnd property is the character position that selection ends within the text.
 
If the cursor is to the left of the first character, the value will be 0.
 
To manually overide selection, you must set the AutoSelect property to False.
 
The most common requirement for Selection handling is completing a value during input. This is managed automatically by the AutoCompleting event.
 
SelectionEnd is provided for completeness and is unlikely to be required for most development purposes.

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2