Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loosing What is Typed In a Field (even different)
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01515194
Message ID:
01515231
Views:
45
I had a similar problem when I had an RTF control, and when certain uses typed very fast they would loose characters during typing.

The problem was an extensive keypress event. The code that you showed in your keypress would not cause this behavior, since none of the cases is fired unless you press one of the F keys.

Maybe the reason why it happens only with certain users is that some are typing faster than others.

You also need to check if the forms KeyPreview property is set to .T. and if there is any code in the form's Keypress event. That event would be fired each time a user presses a key in any control on the form, and if it does some additional work, it can cause characters to get lost (as it happend in my situation).


>Hey Gang!
>
>Have any of you ever run into a problem where a VFP App (ver 8 SP1 in this case), where the App looses characters that are typed into a form as one quickly types from form to form in a pageframe? The App is running under Windows XP SP3.
>
>There is one field in particular, that is loosing characters typed in... in case, they are completely different than what they should have been.
>
>If the user goes back, and repeats the same sequence again, but much more slowly, then the numbers are correct this time.... sigh.
>
>I've checked through the code, and don't see what may be amiss to cause this.
>
>Most of our users never report this behavior, but for a FEW of them, it occurs... and it appears to be localized to those few users.
>
>Maybe some Windows applications in memory causing a problem, that I don't know about for those few users? Or a letter sequence mistyped by these people causing the field to partially erase or replace with other chars?
>
>What ideas do you have?
>
>Thanks a BUNCH !!!
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform