Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About TextBox
Message
De
17/06/2003 10:47:09
 
 
À
17/06/2003 10:44:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00800802
Message ID:
00800804
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>Hello All.
>Code in GotFocus event of Tnisform.Text1 object
>IF EMPTY(This.value)
> This.value="abracadabra"
>ENDIF
>I want to set cursor in the end position of text
>(cursor set at the first position).
>Do you know how I can without function Keyboard
>setting cursor?

Add to the gotfocus after you set the value.
THIS.SelStart= LEN(THIS.Value)
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform