Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox Control
Message
De
24/10/2001 09:03:00
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00572537
Message ID:
00572547
Vues:
41
Hi Vlad,

Why SetFocus instead of GotFocus?

Renoir

>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform