Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SelStart function
Message
De
30/03/2006 15:32:29
 
 
À
30/03/2006 15:27:55
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
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:
01109337
Vues:
54
>>>I agree this sample works just fine.
>>>
>>>However, it does not duplicate my situation because the control in your grid is still a textbox instead of an editbox and you have no interactiveChange event code for the grid editbox control.
>>
>>I think I must have missed where you said the control was an EditBox.
>>
>>You certainly do appear to be right, an EditBox in a grid, I can't even make the .SelStart go anywhere else but the beginning. It jumps back there as soon as the control gets focus. FWIW, it seems it's always worked that way.
>
>Just an idea... save editbox's .selstart in .lostfocus(), and put it where it was in .gotfocus - may even work.

Tried that. The .SelStart goes to 0 even if you set it to some other value in .GotFocus().
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform