Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Field on Entry (Format=K) not working correctly
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00028733
Message ID:
00028792
Views:
70
>>As I said previously, this apparently is a bug -- I used the keyboard command to overcome it...an odd little bug, it is, though not exactly a serious one.
>
>I can't use KEYBOARD "{shift+leftarrow}" on all textboxes though because sometimes they might contain more than one character, for example, if the field width is 10, but sometimes only contains one character. The Knowledge Base suggests using KEYBOARD "{end}" and KEYBOARD "{shift+home}", but if the field width is only one, then END moves to the next textbox!
>

You're quite right.

>Do you have any other suggestions, something I can add to the GotFocus event of all textboxes on a form?
>

You could test for len = 1, and if true, then do keyboard...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform