Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement