Spin Edit - SelectText Method

Set selection within the value

Member of Spin Edit (PRIM_MD.SpinEdit)


NameTypeData TypeDescription
StartPosition*InputIntegerPosition in the value that selection starts
Length*Input (Optional)IntegerNumber of characters to select


The SelectText method sets selection within an edit.
If the cursor is to the left of the first character, the value will be 0.
The most common requirement for Selection handling is completing a value during input. This is managed automatically by the AutoCompleting event.
SelectText is provided for completeness and is unlikely to be required for most development purposes.

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2