Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tab key clears textbox after popup menu
Message
 
 
To
08/08/2003 09:28:52
David Lane
Lothian Valuation Joint Board
Edinburgh, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00818179
Message ID:
00818864
Views:
15
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform