indiocolifa Messages: 49 Registered: January 2008 Location: Argentina
Member
luzr wrote on Thu, 17 April 2008 13:58
Exactly.
The problem is that you will get ChildLostFocus for the editfield being left. Then prompt popups and you are getting another one (for the new editfield), BUT at that moment, you do not have your "lastFocus" changed yet (because you have not given it a chance to happen).
Actually, the real moral of the story is "do not change the focus in the process of changing the focus"
Mirek
I understand Mirek. Since U++ does not provide a "WhenLostFocus" style callback, what do you think it's the best approach to validate a field when the user leaves it (I need this).
Thank you very much for your help, both cbpporter and mirek.