When I test this.selstart = len(this.value) my cursor is positioned at the very end of the field itself even if it contains only 2 characters and the field is 10 characters wide. When I use this.selstart = len(alltriM(this.value)) the cursor is positioned at the end of the value. However, I tested in vfp8 and vfp9 because I no longer have vfp6 installed.
>Why would This.SelStart = Len(This.Value) in a Click Event of an Edit box used in a grid column cause the cursor to jump to the first position of the Edit box? I need to position the cursor to the end of Edit box string.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"