Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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 :-)
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement