Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Forms & Form designer
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only