Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Position cursor inside am Editbox
Message
 
À
19/09/2000 12:38:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00418109
Message ID:
00418181
Vues:
38
>Add a custom property to your editbox superclass - something like nRealSelStart - default to -1.

Trey,

Why do you have to do that? I just tested and using .selstart works fine for me. Am I missing something?

If a put the following in a button on a form Thisform.MyEdit.SelStart = 4. Type 10 characters in the edit box, click the button, then tab back to the edit box, the cursor is in the 4th position.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform