Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to point cursor (mouse) to end of value
Message
From
20/03/2003 12:07:26
 
 
To
20/03/2003 11:58:58
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00768160
Message ID:
00768166
Views:
15
in the GotFocus() Method of the textbox put:
This.SelStart = len(This.Value)
make sure
SelectOnEntry = .f.
in the textbox

this works with character values, for numeric or other this would have to be modified.

hope this helps

>I'm not talking about current record sets here, but about the blinking | in a texbox
>I'm sorry but I dont know another word for it.
>
>When user tabs through a form with multiple textboxes i want the cursor to be positioned at the end of the value of the textbox instead of the beginning.
>So instead of |sometext i would like sometext| to appear in the focussed textbox.
>
>I've noticed that foxpro seems to remember where the cursor was in a textbox, so i'm hoping that what i want is possible.
>
>tia
Previous
Reply
Map
View

Click here to load this message in the networking platform