Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Positioning cursor in textbox
Message
 
 
À
10/11/2010 22:52:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01488778
Message ID:
01488780
Vues:
53
>Hi,
>
>My textbox value has default of 10 characters. I set the first 6 characters, user have to enter the remaining 4. How can I position the cursor on the 7th position so that user can just enter the last 4.
>
>TIA.

Check SelStart property of textbox in Help.
thisform.txtInput.SelStart = 7
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform