Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox Control
Message
From
24/10/2001 09:31:29
 
 
To
24/10/2001 09:03:00
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00572537
Message ID:
00572560
Views:
43
Hi!

Sure, it should be "GotFocus" event.

I just made mistake because read the original post mentioned "SetFocus". Thanks for correction!

>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
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform