Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SelStart function
Message
De
17/02/2006 13:21:20
 
 
À
17/02/2006 12:44:33
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01097121
Message ID:
01097142
Vues:
26
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"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform