Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00572537
Message ID:
00572543
Vues:
54
Hi!

In the SetFocus event use follwing commands:
this.SelLength=0
this.SelStart=len(rtrim(this.Text))

HTH.

>I have a textbox which has no value and I give it a value programmatically. Now when i use the method Textbox.Setfocus() the textbox gets the focus but the blinking cursor is a the begining of the text as no value is in the textbox and so when i type in something the typed in characters appear at the begining before the value it had before. I have to press END key or click with the mouse to work correctly -->(The cursor at the end). How can i solve this problem.
>
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform