Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd textbox behaviour
Message
From
29/03/2003 12:13:45
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00771458
Message ID:
00771731
Views:
14
You could be right, but to be honest, I've had users tell me the cursor should always be at the end if I've had it at the beginning, or always at the beginning if I've had it at the end, but I have never ever had any user complain that it should be at the beginning when tabbing forward and at the end when tabbing backward. I think users (at least the ones I've come across) are happy as long as it's in the same place each time they enter the field.

Normally, I have SelectOnEntry = .T. anyway, and change it only when users ask for the change. And then, like I said, they seem to like it best when the the cursor is always in the same place.

Alan

>Alan,
>
>This may be too simplified. It may be fine if moving backward from the next object, but what about entering the textbox from the object before it? Seeing the cursor jump to the end might be unnerving to the users. Some code will be needed to test what the last object was before the textbox got focus.
>
>Dana
>
>>Are you sure it doesn't do this in your other forms? That's how it works for me. If it bothers you, then in your textbox gotfocus, move the insertion point to the end:
>>
>>
This.SelStart = Len(Alltrim(This.Text))
>>
>>Alan
>>
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform