General information
Category:
Forms & Form designer
In the keypress event of a textbox, I'm switching focus to a control on a different page (i.e., sort of a hotkey kind of thing). In the code, I set the activepage to the new page, then I setfocus on the new control.
Everything works fine except whatever data is in the old text box gets left on the screen--even if I do a refresh afterwards. For some reason, VFP doesn't know it's there, so it doesn't think it needs to paint that area. If I manually change pages and come back everything looks fine.
I've even tried setting focus to the current page (so the current control loses focus), then to the new page, but to no avail.
Any thoughts?
tia,
jam :-)
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only