Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select Field on Entry (Format=K) not working correctly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00028733
Message ID:
00028792
Vues:
68
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform