Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Go to specific location in a text box
Message
De
31/05/2007 16:07:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01229658
Message ID:
01229675
Vues:
13
>>>>I have a text box with an input mask of '0-99999' and a format of K. I would like the cursor to be in the 3rd column, i.e. after the '0-' when entering new data.
>>>>
>>>>Is this possible, if so how.
>>>
>>>See SelStart property.
>>
>>I did, but I cannot change it in the properties list. I can not figure out what "objectname" to use with
>>
>>WITH objectname
>>   thisform.txtbox.selstart = 3
>>ENDWITH
>>
>>or even it that is the correct approach.
>
>
>SelStart you should set in the code, e.g.
>
>textbox GotFocus():
>
>this.SelStart = 3

Thanks I will try it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform