Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Box Value Bug
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00475397
Message ID:
00476370
Vues:
39
>Hi Barbara.
>
>>> In order to get this to work properly with a mouse click, I have the following code in the GotFocus method of my textbox class:
>
>if this.SelectOnEntry
>   Dodefault()
>endif
>
<<
>
>Which also produces some interesting behavior if you happen to have code in the Valid method of the textbox since this causes the Valid to fire when the control gets focus ;-)
>

But it's better than the alternative, which is to call SetFocus(). That, of course, causes problems if the textbox is part of a form called from a valid. Do you know of a better solution?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform