Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tab key clears textbox after popup menu
Message
 
 
À
08/08/2003 09:28:52
David Lane
Lothian Valuation Joint Board
Edinburgh, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00818179
Message ID:
00818864
Vues:
16
Hi David,

If you find yourself calling controls events, you should move code from the event in the method and call the method from the event and any other places. What code do you've in the texbox Valid/Lostfocus? Did you try to use Debugger to trace where value of the textbox changes?

>I have a problem with textbox value disappearing when tabbing out of a textbox. If the focus shifts using Enter or clicking on another object, then no problem. If I tab out it resets to '0'.
>This only happens if the form is set to edit mode via a popup menu. This calls the click code of a command button.
>If the command button is clicked itself, then no problem, the focus can shift from the textbox using Tab, Enter or click away without the value resetting.
>
>VFP7 SP1
>
>Thanks in advance
>
>David
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform