Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Positioning cursor in textbox
Message
De
12/11/2010 21:52:48
 
 
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:
01488999
Vues:
45
>>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
IIRC, SelStart = 0 to begin in position 1, so SelStart = 6 to begin in position 7.

-m.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform